Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Utility to convert gitignore patterns to minimatch patterns
Parse a .gitignore or .npmignore file into an array of patterns.
find the closest .gitignore file, parse it, and apply ignore rules