Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    readfilepublic

    readfile

    Build Status Coverage Status

    Don't let fs.readFile throw because buffer is too big on v4.x

    On non v4 versions, simply exports fs.readFile, otherwise, make sure it does not throw due to the buffer being too large to perform toString

    Install

    $ npm install --save readfile

    Test

    $ npm test

    Usage

    See fs.readFile

    Author

    Evan Lucas

    License

    MIT (See LICENSE for more info)

    Keywords

    none

    install

    npm i readfile

    Downloadsweekly downloads

    7

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar