@bifot/promisify
v0.0.2
Published
Util for promisify packages.
Downloads
1
Readme
@bifot/promisify
Util for promisify packages.
Install
$ npm i @bifot/promisify -S
Tests
$ npm test
Docs
const _fs = require('fs')
const promisify = require('@bifot/promisify')
const fs = promisify(_fs)
const files = await fs.readdir('./')
console.log(files) // [ '.idea', 'index.js', 'index.test.js', 'package.json' ]
License
MIT.