Skip to content

bredikhin/prelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prefixing Transform Stream

Build Status NPM version

Installation

npm install --save prelog

NPM

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

The MIT License

Copyright (c) 2014 Ruslan Bredikhin

About

Prefixing transform stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published