glob-gitignore

Extends `glob` with support for filtering files according to gitignore rules and exposes an optional Promise API with NO performance issues

ignore

Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.

parse-gitignore

Parse a .gitignore or .npmignore file into an array of patterns.

ignore-file

Compile an ignore file (similar to .gitignore) to a Javascript function