n2p - node-style callback to promise
Usage
var n2p = ; { return await }
Or in livescript (with the async syntax)
require! n2p foo = ->> return await n2p -> fs.readFile('foo.txt', it)
Licence
MIT
Credits
By Geza Kovacs
var n2p = ; { return await }
Or in livescript (with the async syntax)
require! n2p foo = ->> return await n2p -> fs.readFile('foo.txt', it)
MIT
By Geza Kovacs
npm i n2p
0
0.0.2
MIT