Skip to content

SmithAF/if-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If-Chain

A tiny library to write if statements like promises

import { ifChain } from 'if-chain';

ifChain(condition)
  .then(doThis)
  .if(secondCondition)
    .then(doThis)
  .else(elseDoThis)
.else(elseDoThis)
  .then(doThis)
.finally(FinallyThis);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published