then-js

0.1.3 • Public • Published
Promises/A+ logo

Then

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

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

Package Sidebar

Install

npm i then-js

Weekly Downloads

1

Version

0.1.3

License

none

Last publish

Collaborators

  • isayme