https://github.com/ttab/mod-cons
Modern conveniences for native JavaScript promises
https://github.com/ttab/mod-cons
library mocha
Last synced: about 1 month ago
JSON representation
Modern conveniences for native JavaScript promises
- Host: GitHub
- URL: https://github.com/ttab/mod-cons
- Owner: ttab
- Created: 2016-06-29T07:54:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-21T13:15:35.000Z (over 8 years ago)
- Last Synced: 2025-02-19T18:41:29.426Z (over 1 year ago)
- Topics: library, mocha
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mod-cons
===========



Modern conveniences for native JavaScript promises.
Have you switched to native promises but miss the convenience of
`Q.nfcall`? This library contains a low-footprint reimplementations of
[Q] convenience functions meant to be run on top of native ES5
promises.
No messy dependencies. No half-baked home-rolled Promise
implementation. No wrappers.
- [ninvoke / nsend][ninvoke]
- [nfcall]
- [nfapply]
- [nfbind / denodeify][nfbind]
- [nbind]
- [npost][npost]
- [defer]
- [delay]
[Q]:https://github.com/kriskowal/q/
[ninvoke]:https://github.com/kriskowal/q/wiki/API-Reference#qninvokeobject-methodname-args
[nfcall]:https://github.com/kriskowal/q/wiki/API-Reference#qnfcallfunc-args
[nfapply]:https://github.com/kriskowal/q/wiki/API-Reference#qnfapplynodefunc-args
[nfbind]:https://github.com/kriskowal/q/wiki/API-Reference#qnfbindnodefunc-args
[npost]:https://github.com/kriskowal/q/wiki/API-Reference#qnpostobject-methodname-args
[nbind]:https://github.com/kriskowal/q/wiki/API-Reference#qnbindnodemethod-thisarg-args
[defer]:https://github.com/kriskowal/q/wiki/API-Reference#qdefer
[delay]:https://github.com/kriskowal/q/wiki/API-Reference#qdelayms