Skip to content
PluginStats

babel-plugin-array-includes weekly downloads statistics

By stoeffel · npm · Babel plugins

Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.

View on npm Fresh · Oct 30, 2026

babel-plugin-array-includes has 113,925 recorded weekly downloads on npm, ranking #607 of 2,687 tracked listings.

Weekly downloads
113,925
Official API · Oct 28, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#607
Among tracked npm listings

About babel-plugin-array-includes

babel-plugin-array-includes

Replaces arr.includes(val) with arr.indexOf(val) >= 0.

Thanks to @sebmck for the help.

Example

In

[1, 2, 3, 5, 8, 13].includes(4);

Out

"use strict";

[1, 2, 3, 5, 8, 13].indexOf(4) >= 0;

Pitfalls

This doesn't work:

In

function foo(arr) {
  return arr.includes('foo');
}

Out

function foo(arr) {
  return arr.includes('foo'); // still includes
}

Installation

$ npm install babel-plugin-array-includes

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["array-includes"]
}
Via CLI
$ babel --plugins array-includes script.js
Via Node API
require("babel-core").transform("code", {
  plugins: ["array-includes"]
});

Description from the npm listing.

  • babel
  • babel-plugin
  • array
  • includes
  • polyfill

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-array-includes weekly downloads on npm, last 90 days: 113,925 weekly downloads as of Oct 28, 2026.babel-plugin-array-includesWeekly downloads on npm · Last 90 days113,925downloads / week100K105K110K115K120K125K130KJul 30Aug 14Aug 29Sep 13Sep 28Oct 13Oct 28downloads / weekOct 28, 2026 – Oct 28, 2026 · 1 observations · Updated Oct 28, 2026pluginstats.com
babel-plugin-array-includes weekly downloads on npm, last 90 days: 113,925 weekly downloads as of Oct 28, 2026.

7/30/90-day growth

babel-plugin-array-includes weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.babel-plugin-array-includesWeekly downloads growth on npm113,925downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 28, 2026pluginstats.com
babel-plugin-array-includes weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

babel-plugin-array-includes npm ranking history: currently #607 (by weekly downloads).babel-plugin-array-includesnpm ranking · by weekly downloads · Last 90 days#607current rank#605#606#607#608#609Aug 1Aug 16Aug 31Sep 15Sep 30Oct 15Oct 30rankOct 30, 2026 – Oct 30, 2026 · 1 observations · Updated Oct 28, 2026pluginstats.com
babel-plugin-array-includes npm ranking history: currently #607 (by weekly downloads).

Listing placement

All npm2,686 listings · 135 pages · 1,344 shown · page 31, #7 (overall #607)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins258 listings · 13 pages · page 13, #1 (overall #241)
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 (1)
Recent weekly downloads observations for babel-plugin-array-includes
Date (UTC)Weekly downloadsChange vs. previous
113,925—

Similar npm Babel plugins plugins

All 20 babel-plugin-array-includes alternatives

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-array-includes. First seen Oct 30, 2026; last successful collection Oct 30, 2026. See the methodology.