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

/promise-proxy/

    Package Sidebar

    Install

    npm i promise-proxy

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • kigiri