Novices Plagiarizing Mozart

unpromise

0.0.1 • Public • Published

unpromise

Sometimes you want a promise to work with a callback.

install: npm install unpromise

example:

var unpromise = require('unpromise');
 
function createTask(str, callback) {
  // task.create returns an object that
  // has .success and .error methods
  var somePromise = task.create();
  unpromise(somePromise, callback);
}

install

npm i unpromise

Downloadsweekly downloads

0

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability