A simple script to run asynchronous tasks with auto. Alternative to async.auto
npm i -S gist:bf5ff86a2a20f88f3b327872427598ab
import autoTasks from '0tis-autotasks';
autoTasks({
one: cb=>cb(null, 1),
two:['one', (cb, res)=>cb(null, res.one, 2)],
three: ['one', 'two', (cb, res)=>cb('just error')]
}, (err, data)=>{
console.log(err, data); //just error {one: 1, two: [1, 2], three: undefined}
})