promise-to-callback
Convert promise to callback interface
Last updated 11 years ago by stevemao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install promise-to-callback 
SYNC missed versions from official npm registry.

promise-to-callback Build Status

Convert promise to callback interface

Because there are many promise implementations and callbacks are better to handle errors.

Install

$ npm install --save promise-to-callback

Usage

var promiseToCallback = require('promise-to-callback');

promiseToCallback(promise)(function(err, data) {
	...
});

License

MIT © Steve Mao

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

2 Versions

  • 1.0.0                                ...           11 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (5)

Copyright 2013 - present © cnpmjs.org | Home |