Skip to content
JS
Package

@philiprehberger/safe-regex

Validate and sanitize regular expressions to prevent ReDoS attacks

v0.1.2, 1 Apr 2026MITESM + CommonJSTypes: BundledSecurity
$ npm install @philiprehberger/safe-regex

Key numbers

As of 25 Sept 2026
Weekly downloads
3.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 months ago
v0.1.2
GitHub stars
1
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
26

No weekly download data in the snapshot.

3,845 downloads last week, 17,436 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.1.2, 1 Apr 20265 months ago
First published
-
Last push to GitHub
9 Sept 202616 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
26
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.0.0
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (0)
None
npm install @philiprehberger/safe-regex
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@philiprehberger/safe-regex@0.1.2/
  • unpkghttps://unpkg.com/@philiprehberger/safe-regex@0.1.2/
  • esm.shhttps://esm.sh/@philiprehberger/safe-regex@0.1.2
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3845 < 10000.