Skip to content
PluginStats

babel-plugin-source-map-support weekly downloads statistics

By chocolateboy · npm · Babel plugins

A Babel plugin which automatically makes stack traces source-map aware

View on npm Stale · Oct 17, 2026

babel-plugin-source-map-support has 73,615 recorded weekly downloads on npm, a decrease of 45.4% over the past 30 days, ranking #485 of 2,256 tracked listings.

Weekly downloads
73,615
Official API · Oct 17, 2026
7-day growth
-52.4%
-80.9K weekly downloads
30-day growth
-45.4%
-61.1K weekly downloads
90-day growth
-49.4%
-72K weekly downloads
Rank
#485
Among tracked npm listings

About babel-plugin-source-map-support

• NAME • INSTALL • SYNOPSIS • DESCRIPTION • DEVELOPMENT • NPM Scripts • COMPATIBILITY • SEE ALSO • VERSION • AUTHOR • COPYRIGHT AND LICENSE

NAME

babel-plugin-source-map-support - a Babel plugin which automatically makes stack traces source-map aware

INSTALL

$ npm install source-map-support --save $ npm install babel-plugin-source-map-support --save-dev

SYNOPSIS

$ cat test.js

$ babel --plugins source-map-support test.js

DESCRIPTION

This is a Babel plugin which prepends the following statement to source files:

In conjunction with the source-map-support module, which must be installed separately, this statement hooks into the v8 stack-trace API to translate call sites in the transpiled code back to their corresponding locations in the original code.

Note: this only works in environments which support the v8 stack-trace API (e.g. Node.js and Chrome), though it's harmless in other environments.

The source-map-support module only needs to be registered in the top-level file(s) of an application, but it no-ops if it has already been loaded, so there's no harm in registering it in every file.

You probably don't want to use this plugin when compiling code for the web because you probably don't want to bundle source-maps and the source-map-support module in minified code. An easy way to limit the plugin's scope to development/test builds is to use Babel's env option, e.g.:

Note that source-maps don't need to be inlined in each file. They can be externalised by using the { sourceMaps: true } option. This adds a link to the bottom of each file which points to its generated source-map, e.g.:

DEVELOPMENT

NPM Scripts

The following NPM scripts are available:

• build - compile the plugin and save it to the dist directory • build:doc - generate the README's TOC (table of contents) • clean - remove the dist directory and other build artifacts • rebuild - clean the build artifacts and recompile the code • test - rebuild the plugin and run the test suite • test:debug - run the test script in debug mode, which dumps each transformed test case • test:prod - run the test suite in production mode • test:run - run the test suite

COMPATIBILITY

• Babel >= 7 • Maintained Node.js versions

SEE ALSO

• babel • source-map-support

VERSION

2.2.0

AUTHOR

chocolateboy

COPYRIGHT AND LICENSE

Copyright © 2015-2022 by chocolateboy.

This module is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

Description from the npm listing.

  • babel-plugin
  • source-map
  • sourcemap
  • source-maps
  • sourcemaps
  • stack-trace
  • stacktrace
  • v8

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-source-map-support weekly downloads on npm, last 90 days: 73,615 weekly downloads as of Oct 17, 2026, -49.4% over 90 days.babel-plugin-source-map-supportWeekly downloads on npm · Last 90 days73,615downloads / week-49.4% over 90 days050K100K150K200K250KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
babel-plugin-source-map-support weekly downloads on npm, last 90 days: 73,615 weekly downloads as of Oct 17, 2026, -49.4% over 90 days.

7/30/90-day growth

babel-plugin-source-map-support weekly downloads growth on npm: -52.4% over 7 days, -45.4% over 30 days, -49.4% over 90 days.babel-plugin-source-map-supportWeekly downloads growth on npm73,615downloads / week now7-day growth-80,925 weekly downloads-52.4%30-day growth-61,120 weekly downloads-45.4%90-day growth-71,959 weekly downloads-49.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
babel-plugin-source-map-support weekly downloads growth on npm: -52.4% over 7 days, -45.4% over 30 days, -49.4% over 90 days.

Ranking history

babel-plugin-source-map-support npm ranking history: currently #485 (by weekly downloads).babel-plugin-source-map-supportnpm ranking · by weekly downloads · Last 90 days#485current rank#483#484#485#486#487Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
babel-plugin-source-map-support npm ranking history: currently #485 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 25, #5 (overall #485)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins251 listings · 13 pages · page 12, #8 (overall #228)
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 (121)
Recent weekly downloads observations for babel-plugin-source-map-support
Date (UTC)Weekly downloadsChange vs. previous
73,615-10.2K
83,864+788
83,076-33.5K
116,607-35.9K
152,5520
152,552-842
153,394-1.1K
154,540-919
155,459+438
155,021-3.6K
158,625-3.5K
162,166-39.8K
202,002-2.1K
204,122—

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-source-map-support. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.