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 Fresh · Dec 6, 2026

babel-plugin-source-map-support has 223,518 recorded weekly downloads on npm, a decrease of 0.9% over the past 30 days, ranking #509 of 3,247 tracked listings.

Weekly downloads
223,518
Official API · Dec 5, 2026
7-day growth
+15.1%
+29.3K weekly downloads
30-day growth
-0.9%
-2K weekly downloads
90-day growth
+83.2%
+101.5K weekly downloads
Rank
#509
▲ 5 in 7 days

About babel-plugin-source-map-support

Build Status NPM Version

<!-- TOC --> <!-- TOC END -->

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

import foo from 'foo';
import bar from 'bar';

foo(bar);

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

import 'source-map-support/register';
import foo from 'foo';
import bar from 'bar';

foo(bar);

DESCRIPTION

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

import 'source-map-support/register';

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.:

{
    env: {
        development: {
            sourceMaps: 'inline',
            plugins: ['source-map-support', ...]
        }
    },

    presets: [ ... ]
}

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.:

{
    env: {
        development: {
            sourceMaps: true,
            plugins: ['source-map-support', ...]
        }
    },
}
// index.js footer:
//# sourceMappingURL=index.js.map

DEVELOPMENT

<details>

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
</details>

COMPATIBILITY

SEE ALSO

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: 223,518 weekly downloads as of Dec 5, 2026, +83.2% over 90 days.babel-plugin-source-map-supportWeekly downloads on npm · Last 90 days223,518downloads / week+83.2% over 90 days050K100K150K200K250KSep 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-source-map-support weekly downloads on npm, last 90 days: 223,518 weekly downloads as of Dec 5, 2026, +83.2% over 90 days.

7/30/90-day growth

babel-plugin-source-map-support weekly downloads growth on npm: +15.1% over 7 days, -0.9% over 30 days, +83.2% over 90 days.babel-plugin-source-map-supportWeekly downloads growth on npm223,518downloads / week now7-day growth+29,343 weekly downloads+15.1%30-day growth-2,046 weekly downloads-0.9%90-day growth+101,503 weekly downloads+83.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-source-map-support weekly downloads growth on npm: +15.1% over 7 days, -0.9% over 30 days, +83.2% over 90 days.

Ranking history

babel-plugin-source-map-support npm ranking history: currently #509 (by weekly downloads).babel-plugin-source-map-supportnpm ranking · by weekly downloads · Last 90 days#509current rank#470#480#490#500#510#520#530Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-source-map-support npm ranking history: currently #509 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 26, #9 (overall #509)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 12, #5 (overall #225)
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-source-map-support
Date (UTC)Weekly downloadsChange vs. previous
223,518+1.5K
221,988+7.1K
214,891+13.1K
201,833+5.2K
196,607+2.2K
194,366+57
194,309+134
194,175-3K
197,216-2.4K
199,622-729
200,351-1.1K
201,421-1.3K
202,691+606
202,085—

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 Dec 6, 2026. See the methodology.