promise-proxy

1.0.1 • Public • Published

promise-proxy

// usage:
const { fs } = require('promise-proxy')
 
 
// you can now use promised fs:
fs.writeFile(/**/).then(/**/)
 
 
// you can extract methods directly
const { fs: { writeFile } } = require('promise-proxy')
 
// this module is lazy and rely on `util.promisify` and `Proxy`
// to avoid repetition in requires

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11
1.0.01

Package Sidebar

Install

npm i promise-proxy

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kigiri