nodified_promise

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i nodified_promise

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • t3chguy