1.0.1 • Published 9 years ago

readfile v1.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
9 years ago

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)