file-lines-count
v1.0.1
Published
Count number of lines in a file in a fast asynchronous fashion.
Downloads
3,837
Maintainers
Readme
file-lines-count
Count number of lines in a file in a fast asynchronous fashion.
Install
npm install file-lines-count
Usage
const linesCount = require('file-lines-count');
const lines = await linesCount('myfile.txt');
console.log(`File has ${lines} lines`);
Contributing
Author
Alex Bakoushin
License
MIT