TypeScript · Svelte★ 5↓ 4,169/moNov 24, 2026
JavaScript★ 6↓ 133K/moNov 29, 2026
Packagist60Moderatehealth index

spatie/regexA sane interface for php's built in preg_* functions
PHP★ 1,123↓ 1.8M/moNov 18, 2026
npm59Moderatehealth index
JavaScript★ 17↓ 362M/moNov 30, 2026
npm59Moderatehealth index
TypeScript★ 31↓ 762M/moNov 19, 2026
npm56Moderatehealth index
JavaScript★ 542↓ 84.7M/moNov 24, 2026
npm54Moderatehealth index
JavaScript★ 24↓ 614M/moNov 19, 2026
TypeScript · JavaScript★ 8↓ 447.7K/moNov 27, 2026
JavaScript★ 222↓ 48.3M/moNov 18, 2026
JavaScript★ 18↓ 10.6M/moOct 24, 2026

micromatch/is-globIf you use globs, this will make your code faster. 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. 55+ million downloads.
JavaScript★ 96↓ 1.1B/moNov 19, 2026
JavaScript · TypeScript★ 598↓ 2B/moNov 19, 2026
crates.io44Weakhealth index
Rust★ 1↓ 76.3K/moNov 25, 2026
JavaScript★ 32↓ 45.5M/moNov 24, 2026
C#★ 14Nov 25, 2026
JavaScript · TypeScript★ 26↓ 180M/moDec 2, 2026

RunDevelopment/refaA library for finite automata and regular expressions in the context of JS RegExp
TypeScript★ 31↓ 34.3M/moNov 24, 2026
JavaScript★ 8↓ 67.2M/moNov 24, 2026

micromatch/anymatch:bangbang: Matches strings against configurable strings, globs, regular expressions, and/or functions
JavaScript★ 402↓ 604M/moNov 19, 2026
JavaScript★ 13↓ 64.5M/moNov 24, 2026
JavaScript★ 63↓ 23.5M/moNov 24, 2026

micromatch/nanomatchFast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but without support for extended globs (extglobs), posix brackets or braces, and with complete Bash 4.3 wildcard support: ("*", "**", and "?").
JavaScript★ 97↓ 38.8M/moNov 18, 2026

micromatch/to-regex-rangePass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.
JavaScript★ 174↓ 892M/moNov 19, 2026

regexhq/unc-path-regexRegular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
JavaScript★ 8↓ 67.2M/moNov 24, 2026
JavaScript★ 3,423↓ 1.5M/moNov 22, 2026
TypeScript★ 159↓ 55M/moNov 18, 2026