1.0.0 • Published 7 years ago

nodified_promise v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

NodifiedPromise

Convert promised code to use node style callbacks. If no callback is provided it will just return the original promise.

Installation

Server:

$ npm install nodeify

Usage

const Promise = require('nodifiedPromise');

After this, all Promises instantiated from this class will have a .nodeify(cb) method which allows you to easily make a thenable library compatible with callbacks.

Licence

MIT