@hengwu/promises-aplus
v1.2.1
Published
A lightweight implementation of Promises/A+.
Downloads
50
Maintainers
Readme
promises-aplus
A lightweight (< 100 LOC in main program) implementation of Promises/A+ (indexed on 2017/12/23).
Guide
npm install --save @hengwu/promises-aplus
Implementation
Prototype Methods
- then
- catch
- done
- finally
- resolve
- reject
Static Methods
- resolve, resolved
- reject, rejected
- deferred
- all
- race
License
MIT