Package
glob-to-regex.js
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8.9m
- +377% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 11 days ago
- v1.3.1
- GitHub stars
- 2
- 1 forks
- Open issues / PRs
- 1 / 2
- Contributors
- -
- Commits, last 52 weeks
- 12
Downloads
Last week 2026-09-15 to 2026-09-21
8,934,925 downloads last week, 44,170,689 in the last month. The 12-month change of +377% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 45 in total
- Latest version
- 1.3.1, 13 Sept 202611 days ago
- First published
- 24 Aug 2025
- Last push to GitHub
- 13 Sept 202611 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 2
- Commits, last 52 weeks
- 12
- Dependents on npm
- 14
Major versions
- v1 first release 1.0.1, 24 Aug 2025
Recent releases
| Version | Published |
|---|---|
| 1.3.1 | 13 Sept 2026 |
| 1.3.0 | 13 Sept 2026 |
| 1.2.0 | 3 Oct 2025 |
| 1.1.0 | 2 Oct 2025 |
| 1.0.1 | 24 Aug 2025 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=10.0
- Runtimes
- -
- Unpacked size (npm)
- 26 kB
- Dependencies (0)
- None
- Peer dependencies (1)
tslib
npm install glob-to-regex.js- jsDelivr
https://cdn.jsdelivr.net/npm/glob-to-regex.js@1.3.1/ - unpkg
https://unpkg.com/glob-to-regex.js@1.3.1/ - esm.sh
https://esm.sh/glob-to-regex.js@1.3.1
Indexability: Indexed.