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.

is-regex

Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag