is-glob

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

extglob

Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.

is-negated-glob

Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.