wc-stream
Streams implementation of wc(1)
.
Example
const wc = ; processstdin
$ echo 'foo bar' | node example.js
{ word: 2, line: 1, char: 8 }
Usage
wc()
Create an object mode Transform stream. See example above.
License
ISC License.
Streams implementation of wc(1)
.
const wc = ; processstdin
$ echo 'foo bar' | node example.js
{ word: 2, line: 1, char: 8 }
Create an object mode Transform stream. See example above.
ISC License.
npm i wc-stream
0
1.0.0
ISC