prelog
v0.0.3
Published
Prefixing transform stream
Downloads
3
Maintainers
Readme
Prefixing Transform Stream
Installation
npm install --save prelog
Usage
var Prelog = require('prelog');
var prelog = new Prelog('> : ');
yourReadableStream.pipe(prelog).pipe(process.stdout);
This will log the data from yourReadableStream
to stdout
prefixing each chunk with '> : '
.
Contributions
- are welcome;
- should be tested;
- should follow the same coding style.
License
Copyright (c) 2014 Ruslan Bredikhin