readfile
v1.0.1
Published
Don't let fs.readFile throw because buffer is too big on v4.x
Downloads
678
Readme
readfile
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)