Skip to content
JS
Package

regexp.prototype.flags

ES6 spec-compliant RegExp.prototype.flags shim.

v1.5.4, 3 Jan 2025MITCommonJSTypes: NonePolyfills and shims
$ npm install regexp.prototype.flags

Key numbers

As of 25 Sept 2026
Weekly downloads
69.5m
+72% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
1 year ago
v1.5.4
GitHub stars
8
9 forks
Open issues / PRs
1 / 1
Contributors
2
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 91.8m (25 Aug 2026)Low 27.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

69,502,732 downloads last week, 333,659,924 in the last month. The 12-month change of +72% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
1.5.4, 3 Jan 20251 year ago
First published
10 Dec 2014
Last push to GitHub
10 Dec 2025288 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
3
Dependents on npm
1,185

Major versions

  1. v1 first release 1.0.0, 10 Dec 2014

Recent releases

VersionPublished
1.5.43 Jan 2025
1.5.33 Oct 2024
1.5.211 Feb 2024
1.5.113 Sept 2023
1.5.019 Apr 2023
1.4.315 Apr 2022
1.4.213 Apr 2022
1.4.114 Jan 2022
1.4.014 Jan 2022
1.3.213 Jan 2022
1.3.115 Jan 2021
1.3.015 Dec 2019
1.2.025 Oct 2017
1.1.116 Aug 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
43 kB
Dependencies (6)
gopdcall-bindes-errorsget-protodefine-propertiesset-function-name
npm install regexp.prototype.flags
  • jsDelivrhttps://cdn.jsdelivr.net/npm/regexp.prototype.flags@1.5.4/
  • unpkghttps://unpkg.com/regexp.prototype.flags@1.5.4/
  • esm.shhttps://esm.sh/regexp.prototype.flags@1.5.4
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.