Gitignore Parser
A very simple .gitignore
parser for node.js.
Installation
npm install gitignore-parser
Usage
var parser = fs = ; var gitignore = parser; gitignore === true;gitignore === false; gitignore === false;gitignore === true; var files = '.gitignore' '.travis.yml' 'LICENSE.md' 'README.md' 'package.json' 'lib/index.js' 'test/index.js' 'test/mocha.opts' 'node_modules/mocha/bin/mocha' 'node_modules/mocha/README.md'; // only files that are not gitignoredfiles; // only files that *are* gitignoredfiles;
License
Apache 2, see LICENSE.md.