then-js
v0.1.3
Published
A tiny(only 200 lines) promise/A+ library
Downloads
2
Maintainers
Readme
Then
A tiny(only 200 lines) promise/A+ library.
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
: [email protected]