https://github.com/bonevidy/linereader
a lightweight library of nodejs lineReader
https://github.com/bonevidy/linereader
Last synced: over 1 year ago
JSON representation
a lightweight library of nodejs lineReader
- Host: GitHub
- URL: https://github.com/bonevidy/linereader
- Owner: boneVidy
- Created: 2018-09-06T02:19:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T02:37:46.000Z (almost 8 years ago)
- Last Synced: 2025-02-09T09:43:19.258Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lineReader
```js
const LineReader = require('linereader');
const rd = new LineReader('./test.txt');
rd.on('newLine', (bf)=> {
console.log(bf.toString('utf8'));
})
```