Skip to content

Browserify transformation that strips out an Array of strings from a stream.

Notifications You must be signed in to change notification settings

chrisabrams/stripperify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Stripperify

Browserify transformation that strips out an Array of strings from a stream.

Why

I was trying to determine whether or not a certain piece of code was breaking a browserify build. Once I realized it was, I needed to remove it from the stream if certain conditions were met.

How to use

I highly doubt you'll need to use this, as it's such a random scenario, but if you want to try:

var Stripperify = require('stripperify')

var strs = [
  'A string I want to strip from a stream',
  '   another line I want to remove'
]

var stripperify = new Stripperify(strs)

b.transform(stripperify.run)

About

Browserify transformation that strips out an Array of strings from a stream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published