ignore

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

anymatch

Matches strings against configurable strings, globs, regular expressions, and/or functions

safe-regex-test

Give a regex, get a robust predicate function that tests it against a string.