Skip to content

Remove stubborn stains from your Node streams! Just $9.99 including shipping.

Notifications You must be signed in to change notification settings

DamonOehlman/streamclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamClean

Removed unwanted lines from a stream.

Build Status

Example Usage

Suppress comment lines with a regex:

var streamclean = require('streamclean'),
    fs = require('fs'),
    path = require('path');
    
fs.createReadStream('input.js')
    .pipe(streamclean(/^\s*\/\//))
    .pipe(fs.createWriteStream('output.js')));

About

Remove stubborn stains from your Node streams! Just $9.99 including shipping.

Resources

Stars

Watchers

Forks

Packages

No packages published