ignore-pipe
v1.1.0
Published
Filters piped paths by $HOME/.gitignore
Downloads
4
Maintainers
Readme
ignore-pipe
ignore-pipe
filters stdin to files that to do not match the patterns in
$HOME/.gitignore
.
Installation
$ npm install -g ignore-pipe
Example
$ find .
./module.py
./module.pyc
./tests/__init__.py
./node_modules/one/index.js
./node_modules/one/package.json
$ cat $HOME/.gitignore
*.pyc
node_modules
$ find . | ignore-pipe
./module.py
./tests/__init__.py