transform-split
A transform stream that splits an incoming stream based on a delimiter.
Installation
$ npm install transform-split --save
Example
var stream = ;var split = ;var source = stream;var dest = stream; source; source;source;source; dest;
API
var split = transformSplit(delimiter)
Initialise a new TransformSplit
with the given delimiter
.
Testing
$ npm run test-spec
To generate a coverage report:
$ npm run test-cov
Credits
- urlgrey for the Makefile inspiration.