pify-async
v0.0.1
Published
promisified async package
Downloads
3
Readme
pify-async
promisified async package
Install
npm install pify-async --save
yarn add pify-async
Usage
const async = require('pify-async')
const callbacks = [1, 2, 3].map(it => cb => {
setTimeout(() => {
cb(null, it)
}, 1000)
})
async.series(callbacks).then(data => {
console.log(data)
})
License
MIT