0.0.1 • Published 7 years ago
pify-async v0.0.1
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
0.0.1
7 years ago