https://github.com/faradayio/through2-linereader
Yet another line reader stream, uses through2
https://github.com/faradayio/through2-linereader
Last synced: about 1 month ago
JSON representation
Yet another line reader stream, uses through2
- Host: GitHub
- URL: https://github.com/faradayio/through2-linereader
- Owner: faradayio
- License: mit
- Created: 2015-01-23T15:23:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-23T15:52:22.000Z (over 11 years ago)
- Last Synced: 2025-01-27T04:29:22.477Z (over 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# through2-linereader
Yet another line reader stream, uses through2
## Installation
```console
npm install through2-linereader
```
or
```console
npm install --save through2-linereader
```
## Usage
```javascript
var linereader = require('through2-linereader');
fs.createReadStream('helloWorld.log', 'utf8')
.pipe(linereader())
.on('data', function(line){
console.log('I found a line.', line);
})
```