0.1.0 • Published 9 years ago
liftp v0.1.0
liftp
the liftPromiseN for Promise lovers before the era of async/await.
Usage
import fs from 'fs';
import Promise from 'bluebird';
import liftp from 'liftp';
var { all } = Promise,
lift = liftp(all),
show = lift(console.log);
Promise.promisifyAll(fs);
show(fs.readFile('./index.js'));
0.1.0
9 years ago