ignore-pipe
Filters piped paths by $HOME/.gitignore
Last updated 6 years ago by beaugunderson .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ignore-pipe -g
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (6 years ago)

3 Versions

  • 1.1.0                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |