gitmyhub

is-glob

JavaScript ★ 0 updated 10y ago ⑂ fork

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 better user experience. Used in projects like micromatch, downloaded 10 million times in 2015.

No plain-English explanation yet — one is being written right now. Check back in a minute.