1.8.0 • Published 4 years ago
read-last-lines v1.8.0
Read Last N Lines
Read in the last N lines of a file efficiently using node.js and fs.
Installation
npm install read-last-lines --save
Usage
example reading last 50 lines of a file
const readLastLines = require('read-last-lines');
readLastLines.read('path/to/file', 50)
.then((lines) => console.log(lines));
Contributing
- Fork it on Github https://github.com/alexbbt/read-last-lines
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request against the development branch :D
1.8.0
4 years ago
1.7.2
5 years ago
1.7.1
6 years ago
1.7.0
6 years ago
1.6.0
6 years ago
1.5.0
6 years ago
1.4.0
7 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
0.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago