Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@buzuli/promised

joeledwards7.4kISC1.0.0

Node async function to Promise

node, async, function, promise

readme

@buzuli/promised

Very simple node-style (callback) async function to Promise translator.

const promised = require('@buzuli/promised')
const data = await promised(h => fs.readFile('package.json', h))