eslint-plugin-optimize-regex weekly downloads statistics
By BrainMaestro · npm · ESLint plugins
Optimize regex literals
eslint-plugin-optimize-regex has 16,655 recorded weekly downloads on npm, a decrease of 51.8% over the past 30 days, ranking #836 of 2,322 tracked listings.
About eslint-plugin-optimize-regex
eslint-plugin-optimize-regex
Optimize regex literals
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-optimize-regex:
npm install eslint-plugin-optimize-regex --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-optimize-regex globally.
Usage
Add optimize-regex to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"optimize-regex"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"optimize-regex/optimize-regex": "warn"
}
}
If you wish to add a whitelist or blacklist array against regexp-tree's
transforms, you can add them on an objects object:
{
"rules": {
"optimize-regex/optimize-regex": ["warn", {
"blacklist": ["charClassClassrangesMerge"]
}]
}
}
If you want the latter particular settings, you can avoid setting plugins and
rules and just use:
{
"extends": ["optimize-regex/recommended"]
}
Or without the blacklist:
{
"extends": ["optimize-regex/all"]
}
Rules
Inspiration
License
MIT © Ezinwa Okpoechi
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- regex
- regex-optimizer
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm ESLint plugins plugins
All 20 eslint-plugin-optimize-regex alternativesData 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/eslint-plugin-optimize-regex. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.