Key numbers
As of 25 Sept 2026
- Weekly downloads
- 16.8m
- +31% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 6 years ago
- v2.1.1
- GitHub stars
- 194
- 11 forks
- Open issues / PRs
- 8 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
16,836,550 downloads last week, 72,056,888 in the last month. The 12-month change of +31% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 09 in total
- Latest version
- 2.1.1, 21 Oct 20196 years ago
- First published
- 13 Jul 2013
- Last push to GitHub
- 1 Nov 20221,423 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 809
Major versions
- v2 first release 2.0.0, 26 Oct 2018
- v1 first release 1.0.0, 6 Feb 2015
- v0 first release 0.0.0, 13 Jul 2013
Recent releases
| Version | Published |
|---|---|
| 2.1.1 | 21 Oct 2019 |
| 2.1.0 | 21 Oct 2019 |
| 2.0.2 | 25 Feb 2019 |
| 2.0.1 | 2 Nov 2018 |
| 2.0.0 | 26 Oct 2018 |
| 1.1.0 | 19 Mar 2015 |
| 1.0.0 | 6 Feb 2015 |
| 0.0.1 | 22 Nov 2013 |
| 0.0.0 | 13 Jul 2013 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 16 kB
- Dependencies (1)
regexp-tree
npm install safe-regex- jsDelivr
https://cdn.jsdelivr.net/npm/safe-regex@2.1.1/ - unpkg
https://unpkg.com/safe-regex@2.1.1/ - esm.sh
https://esm.sh/safe-regex@2.1.1
Indexability: Not indexed (discovery only): no category.