read-text-file
v1.1.0
Published
handles and strips byte order marks when reading a text file
Downloads
3,046
Maintainers
Readme
read-text-file
handles and strips byte order marks when reading a text file
npm install read-text-file --save
var readTextFile = require('read-text-file');
var contentsPromise = readTextFile.read('path/to/file.txt');
var contents = readTextFile.readSync('path/to/file.txt');