promisified async package
npm install pify-async --save
yarn add pify-async
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)
})
MIT