Skip to content

shenfe/promises-aplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promises-aplus

Promises/A+ logo

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

Test

$ npm run test

The test suite is provided by promises-aplus/promises-tests.

References

License

MIT

Copyright © 2017-present, shenfe

About

A lightweight implementation of Promises/A+.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published