Skip to content
PluginStats

babel-plugin-transform-regexp-constructors weekly downloads statistics

By babel (204 listings) · npm · Babel plugins

This changes RegExp constructors into literals if the RegExp arguments are strings.

View on npm Fresh · Oct 18, 2026

babel-plugin-transform-regexp-constructors has 293,576 recorded weekly downloads on npm, a decrease of 36.6% over the past 30 days, ranking #332 of 2,322 tracked listings.

Weekly downloads
293,576
Official API · Oct 18, 2026
7-day growth
-39.9%
-195.1K weekly downloads
30-day growth
-36.6%
-169.2K weekly downloads
90-day growth
-28.8%
-118.5K weekly downloads
Rank
#332
Among tracked npm listings

About babel-plugin-transform-regexp-constructors

babel-plugin-transform-regexp-constructors

This changes RegExp constructors into literals if the RegExp arguments are strings.

Example

In

const foo = 'ab+';
var a = new RegExp(foo+'c', 'i');

Out

const foo = 'ab+';
var a = /ab+c/i;

Installation

npm install babel-plugin-transform-regexp-constructors --save-dev

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-regexp-constructors"]
}
Via CLI
babel --plugins transform-regexp-constructors script.js
Via Node API
require("@babel/core").transform("code", {
  plugins: ["transform-regexp-constructors"]
});

Description from the npm listing.

  • babel-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

babel-plugin-transform-regexp-constructors weekly downloads on npm, last 90 days: 293,576 weekly downloads as of Oct 18, 2026, -28.8% over 90 days.babel-plugin-transform-regexp-construc…Weekly downloads on npm · Last 90 days293,576downloads / week-28.8% over 90 days200K300K400K500K600K700KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
babel-plugin-transform-regexp-constructors weekly downloads on npm, last 90 days: 293,576 weekly downloads as of Oct 18, 2026, -28.8% over 90 days.

7/30/90-day growth

babel-plugin-transform-regexp-constructors weekly downloads growth on npm: -39.9% over 7 days, -36.6% over 30 days, -28.8% over 90 days.babel-plugin-transform-regexp-construc…Weekly downloads growth on npm293,576downloads / week now7-day growth-195,093 weekly downloads-39.9%30-day growth-169,150 weekly downloads-36.6%90-day growth-118,488 weekly downloads-28.8%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
babel-plugin-transform-regexp-constructors weekly downloads growth on npm: -39.9% over 7 days, -36.6% over 30 days, -28.8% over 90 days.

Ranking history

babel-plugin-transform-regexp-constructors npm ranking history: currently #332 (by weekly downloads).babel-plugin-transform-regexp-construc…npm ranking · by weekly downloads · Last 90 days#332current rank#330#332#334#336#338Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
babel-plugin-transform-regexp-constructors npm ranking history: currently #332 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 17, #12 (overall #332)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins252 listings · 13 pages · page 9, #12 (overall #172)
Babel plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for babel-plugin-transform-regexp-constructors
Date (UTC)Weekly downloadsChange vs. previous
293,576+49.9K
243,673-48.3K
291,930-6.1K
297,982-102K
399,964-94.2K
494,1420
494,142+5.5K
488,669+10K
478,686+6.8K
471,906+21.8K
450,144+6.2K
443,922-6.9K
450,846-103.9K
554,787—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/babel-plugin-transform-regexp-constructors. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.