Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.md
index.js
package.json

README.md

replace-stream

unix tool to replace text within a stream.

npm install -g replace-stream

# takes a javascript regexp and a string.
replace-stream /unix/ UNIX < README.md

# if it's not a valid regexp, treat it as a string.

replace-stream unix UNIX < README.md

# you can use single quotes to make a pattern with spaces or an empty string.

replace-stream 'unix ' '' < README.md

License

MIT

Something went wrong with that request. Please try again.