Package
regexp.escape
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 504k
- +189% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 2 years ago
- v2.0.1
- GitHub stars
- 44
- 2 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
504,006 downloads last week, 2,479,828 in the last month. The 12-month change of +189% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 06 in total
- Latest version
- 2.0.1, 9 Jul 20242 years ago
- First published
- 13 Jun 2015
- Last push to GitHub
- 30 Dec 2025269 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 36
Major versions
- v2 first release 2.0.0, 9 Jul 2024
- v1 first release 1.0.0, 13 Jun 2015
Recent releases
| Version | Published |
|---|---|
| 2.0.1 | 9 Jul 2024 |
| 2.0.0 | 9 Jul 2024 |
| 1.1.0 | 13 Jan 2020 |
| 1.0.2 | 21 Jul 2015 |
| 1.0.1 | 13 Jun 2015 |
| 1.0.0 | 13 Jun 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 56 kB
- Dependencies (6)
for-eachcall-bindes-errorses-abstractsafe-regex-testdefine-properties
npm install regexp.escape- jsDelivr
https://cdn.jsdelivr.net/npm/regexp.escape@2.0.1/ - unpkg
https://unpkg.com/regexp.escape@2.0.1/ - esm.sh
https://esm.sh/regexp.escape@2.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| weakmap-polyfill | 1m | - | 5 years ago | CommonJS | - |
| @thednp/dommatrix | 182k | - | 22 days ago | ESM + CommonJS | - |
| map-like | 23.5k | - | 9 years ago | CommonJS | - |
| object_values | 18k | - | 9 years ago | CommonJS | - |
| object-keys | 79.8m | - | 7 years ago | CommonJS | - |
| @bloomberg/record-tuple-polyfill | 76.8k | - | 4 years ago | ESM + CommonJS | - |
Indexability: Indexed.