0.0.14 • Published 10 years ago

pipe_ v0.0.14

Weekly downloads
117
License
-
Repository
-
Last release
10 years ago

pipe_

Crazy small CLI utility to pipe in a stream and transform each line on the fly

Specify a string as parameter "-m" and that expression will be evaluted and returned to standard out.

###Installation

npm install pipe_ -g

###Usage Example

cat phonenumbers.txt | pipe -m "'1-'+x"

###Pass through expression

pipe_ -m "x"

technically compiles to

function(x) { return x }

###Append string expression

pipe_ -m "x+'foo'"

technically compiles to

function(x) { return x + 'foo' }

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago