1.0.2 • Published 6 years ago
to-bluebird v1.0.2
To Bluebird 
Convert any type of promise to a Bluebird promise
Install
npm install to-bluebird bluebirdUsage
const toBluebird = require("to-bluebird");
const es6Promise = new Promise(resolve => resolve("Hello World!")); // Regular native promise.
const bluebirdPromise = toBluebird(es6Promise); // Bluebird promise.API
toBluebird(promise)
promise
Type: PromiseLike
The promise to convert.
