Narcissistic Passion Minified

    promisify-callback

    1.0.0 • Public • Published

    promisify-callback

    A small ES6 module that turns any async function with callback into a promise

    Install

    $ npm i promisify-callback

    Usage Example

    import promisify from 'promisify-callback';
     
    promisify(fs.readFile, '/path/to/file').then(/*code here*/);

    Test

    $ npm test

    Install

    npm i promisify-callback

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • joergpatz