A streaming unix
strings
port
var stringsStream = require('strings-stream')
process.stdin
.pipe(stringsStream())
.pipe(process.stdout)
var stringsStream = require('strings-stream')
opts
is an optional object of optionsminLength
is the minimum length a string has to be to make it through. (Like the-n
/--bytes
option instrings
.) Default:4
. (Same asstrings
.)
- Returns
stream
, which is a through stream
With npm do:
npm install strings-stream