Skip to content

🌹Yet Another Promises/A+ Implementation

Notifications You must be signed in to change notification settings

chaoyangnz/yapai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAPAI (Yet Another Promises/A+ Implementation)

npm npm npm bundle size (minified + gzip)

A minimal Promises/A+ complaint Promise implementation with 200 lines of code. This implementation is not production ready but for learning the in-depth mechanism of a Promise and its contract to users.

Install

npm install yapai --save

Build

npm run build

Promises/A+ tests

npm run test

Currently this library passed all the test cases of Promises/A+ (https://github.com/promises-aplus/promises-tests).

This is test result:

About

🌹Yet Another Promises/A+ Implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published