chop-delimited-stream

0.0.0 • Public • Published

chop-delimited-stream

build status AppVeyor Build Status


Get it!

npm install --save chop-delimited-stream

Usage

var chop = require('chop-delimited-stream')
 
var choppa = chop(Buffer.from('chop')) // delimiter must be a buffer
 
process.stdin.pipe(choppa).pipe(process.stdout)

API

chop([delimiter][, trailing])

Create a new choppa stream. delimiter must be a buffer, defaults to: 00 04 01 09 04 01 09 00. trailing indicates whether to flush any non-delimited chunks at the end of the stream, defaults to false.


License

MIT

Package Sidebar

Install

npm i chop-delimited-stream

Weekly Downloads

3

Version

0.0.0

License

MIT

Unpacked Size

8.36 kB

Total Files

9

Last publish

Collaborators

  • chiefbiiko