grepjs

I don't know how to use regexs in grep so i did it in js

  • grepjs

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
grepjs
1.0.07 years ago7 years agoMinified + gzip package size for grepjs in KB

Readme

grepjs
I don't know how to use regexs in grep so i did it in js

Usage

Use it like regex.exec or string.replace:
cat somefile.txt | grepjs (foo) --flags/-f i --replace/-r abc$1def