A performant and standard (Bluebird) library that registers a node-style callback on a promise
npm install @ioredis/as-callback 
```
$ npm install @ioredis/as-callback
`javascript
const asCallback = require('@ioredis/as-callback').defaults;
const promise = new Promise(function (resolve) {
setTimeout(function () {
resolve('hello world!')
}, 1000)
})
asCallback(promise, function callback (err, res) {
console.log(err, res) // null, 'hello world!'
})
`
Most code of this library are ported from the awesome Bluebird library.