Skip to content

isayme/then.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promises/A+ logo

Then

A tiny(only 200 lines) promise/A+ library.

NPM

NPM Version Build Status

APIs

The APIs follow MDN Promise, refer it for more infomation.

Then.resolve(value)

Then.reject(reason)

Then.all(iterable)

Then.race(iterable)

Then.prototype.then(onFulfilled, onRejected)

Then.prototype.catch(onRejected)

Running the Promises/A+ Test Suite

  • npm install
  • npm test

Contact

email: isaymeorg@gmail.com

About

a tiny(only 200 lines) promise/A+ library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published