two-promise
Return a promise for a callback-based function
Example
Converting fs.readFile and fs.readdir
Read a file:
var read =
Count lines from files in directory:
const dir = `/..`const lsd = const cat = const pwd = `/`
Install
% npm install --save two-promise
const toPromise =