Skip to content
PluginStats

babel-plugin-transform-object-rest-spread weekly downloads statistics

By babel (206 listings) · npm · Babel plugins

Compile object rest and spread to ES5

View on npm Fresh · Dec 6, 2026

babel-plugin-transform-object-rest-spread has 1,357,966 recorded weekly downloads on npm, a decrease of 6.8% over the past 30 days, ranking #253 of 3,247 tracked listings.

Weekly downloads
1,357,966
Official API · Dec 5, 2026
7-day growth
-0.4%
-5.1K weekly downloads
30-day growth
-6.8%
-99.5K weekly downloads
90-day growth
+8.0%
+101K weekly downloads
Rank
#253
▼ 5 in 7 days

About babel-plugin-transform-object-rest-spread

babel-plugin-transform-object-rest-spread

This plugin allows Babel to transform rest properties for object destructuring assignment and spread properties for object literals.

Example

Rest Properties
let { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 };
console.log(x); // 1
console.log(y); // 2
console.log(z); // { a: 3, b: 4 }
Spread Properties
let n = { x, y, ...z };
console.log(n); // { x: 1, y: 2, a: 3, b: 4 }

Installation

npm install --save-dev babel-plugin-transform-object-rest-spread

Usage

Via .babelrc (Recommended)

.babelrc

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

Options

useBuiltIns

boolean, defaults to false.

By default, this plugin uses Babel's extends helper which polyfills Object.assign. Enabling this option will use Object.assign directly.

.babelrc

{
  "plugins": [
    ["transform-object-rest-spread", { "useBuiltIns": true }]
  ]
}

In

z = { x, ...y };

Out

z = Object.assign({ x }, y);

References

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-object-rest-spread weekly downloads on npm, last 90 days: 1,357,966 weekly downloads as of Dec 5, 2026, +8.0% over 90 days.babel-plugin-transform-object-rest-spr…Weekly downloads on npm · Last 90 days1,357,966downloads / week+8.0% over 90 days0500K1M1.5M2M2.5M3M3.5MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
babel-plugin-transform-object-rest-spread weekly downloads on npm, last 90 days: 1,357,966 weekly downloads as of Dec 5, 2026, +8.0% over 90 days.

7/30/90-day growth

babel-plugin-transform-object-rest-spread weekly downloads growth on npm: -0.4% over 7 days, -6.8% over 30 days, +8.0% over 90 days.babel-plugin-transform-object-rest-spr…Weekly downloads growth on npm1,357,966downloads / week now7-day growth-5,105 weekly downloads-0.4%30-day growth-99,480 weekly downloads-6.8%90-day growth+100,977 weekly downloads+8.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-object-rest-spread weekly downloads growth on npm: -0.4% over 7 days, -6.8% over 30 days, +8.0% over 90 days.

Ranking history

babel-plugin-transform-object-rest-spread npm ranking history: currently #253 (by weekly downloads).babel-plugin-transform-object-rest-spr…npm ranking · by weekly downloads · Last 90 days#253current rank#210#220#230#240#250#260Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-object-rest-spread npm ranking history: currently #253 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 13, #13 (overall #253)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 7, #7 (overall #127)
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 (170)
Recent weekly downloads observations for babel-plugin-transform-object-rest-spread
Date (UTC)Weekly downloadsChange vs. previous
1,357,966-7K
1,365,013+6.1K
1,358,953+21.3K
1,337,640-11.3K
1,348,939+9.5K
1,339,489-14.9K
1,354,435-8.6K
1,363,071-11K
1,374,112-8.3K
1,382,419-27.6K
1,409,995-1K
1,411,002+2.1K
1,408,937+34.7K
1,374,268—

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-object-rest-spread. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.