A teeny-tiny promise library
Want to see pretty graphs? Log in now!
npm install ayepromise
|6||downloads in the last day|
|40||downloads in the last week|
|113||downloads in the last month|
|Last Published By|
|Version||1.1.0 last updated 16 days ago|
|Keywords||q, promise, promises, promises-a, promises-aplus, deferred, future, async, flow control, browser, node|
ayepromise is a teeny-tiny promise library. It promises to pass the Promises/A+ 1.1 Compliance Test Suite.
Why yet another promise library?
ayepromise wants to be as small as possible (~180 LOC, ~1200 bytes minified), staying compatible to Q while fully implementing the spec. It's licensed under WTFPL and/or BSD.
ayepromise tries to be fully compatible with kriskowal's Q in such a way that you can always replace
Q. (There's a catch: ayepromise tries to strictly follow Promises/A+ 1.1 and will differ where Q does not.) It will not however try to implement anything close to the full feature set. Check
test/CompatibilitySpecRunner.html to see ayepromise's test suite executed against Q.
Run the test suite
For the browser, first install dependencies via
npm install and
bower install and then
For NodeJS install dependencies via
npm install and run
npm test. This includes the Promise/A+ Compliance Test Suite.