Skip to content
PluginStats

babel-plugin-system-import-transformer weekly downloads statistics

By thgreasi · npm · Babel plugins

Babel plugin that replaces System.import with the equivalent UMD pattern

View on npm Fresh · Dec 6, 2026

babel-plugin-system-import-transformer has 101,160 recorded weekly downloads on npm, an increase of 14.9% over the past 30 days, ranking #637 of 3,247 tracked listings.

Weekly downloads
101,160
Official API · Dec 5, 2026
7-day growth
+8.7%
+8.1K weekly downloads
30-day growth
+14.9%
+13.1K weekly downloads
90-day growth
+73.8%
+43K weekly downloads
Rank
#637
▼ 2 in 7 days

About babel-plugin-system-import-transformer

babel-plugin-system-import-transformer

Build Status npm npm

Babel plugin that replaces import() & System.import() with the equivalent UMD pattern

Transforms

import('./utils/serializer').then(function(module){
    console.log(module);
});

// AND

System.import('./utils/serializer').then(function(module){
    console.log(module);
});

to

new Promise(function (resolve, reject) {
    var global = window;

    if (typeof global.define === 'function' && global.define.amd) {
        global.require(['utilsSerializer'], resolve, reject);
    } else if (typeof module !== 'undefined' && (module.exports && typeof require !== 'undefined') ||
               typeof module !== 'undefined' && (module.component && (global.require && global.require.loader === 'component'))) {
        resolve(require('./utils/serializer'));
    } else {
        resolve(global['utilsSerializer']);
    }
}).then(function(module){
    console.log(module);
});

Requirements

  • Babel v7.x.x

Notes:

Installation

npm install babel-plugin-system-import-transformer

Add "system-import-transformer" to your plugins argument or inside the plugins options of your Gruntfile.

// in .babelrc
{
    "plugins": [
        "system-import-transformer"
    ]
}

// in grunt.js
babel: {
    options: {
        plugins: ["system-import-transformer"]
    }
}

Configuration

Relative paths and Aliases

The babel's getModuleId option (if defined) is used for the AMD and Global Module import.

babel: {
    options: {
        moduleIds: true,
        getModuleId: function(moduleName) {
            var files = {
                'src/utils/serializer': 'utilsSerializer'
            };

            return files[moduleName] || moduleName.replace('src/', '');
        },
        plugins: ['system-import-transformer']
    }
}

Options

commonJS

CommonJS specific options.

commonJS.useRequireEnsure

Type: Boolean
Values: [false/true]

When set to true, all CommonJS import statements will use Webpack's require.ensure() syntax. This enables dynamic module loading in CommonJS (Webpack) and works both for the UMD and (of course) CommonJS module target types.

{
    "plugins": [
        ["system-import-transformer", { "commonJS": { "useRequireEnsure": true } }]
    ]
}

// the CommonJS code part will look like:
new Promise(function (resolve) {
    require.ensure([], function (require) {
        resolve(require('./utils/serializer'));
    });
}).then(function(module){ console.log(module); });
modules

Type: String
Values: [UMD/amd/common]
Example

Specifies the target compilation module system. When set configured to an option other than UMD then system-import-transformer will omit the module type detection code and just insert the appropriate require statement wrapped with a Promise.

// targeting AMD
{
    "plugins": [
        ["system-import-transformer", { "modules": "amd" }]
    ]
}

// will emit an AMD specific code like:
new Promise(function (resolve, reject) {
    var global = window;
    global.require(['utilsSerializer'], resolve, reject);
}).then(function(module){ console.log(module); });
// targeting CommonJS
{
    "plugins": [
        ["system-import-transformer", { "modules": "common" }]
    ]
}

// will emit a CommonJS specific code like:
new Promise(function (resolve, reject) {
    resolve(require('./utils/serializer'));
}).then(function(module){ console.log(module); });
syntax

Syntax specific options.

syntax.import

Type: Boolean
Values: [true/false]
Example

When set to false, babel will not transpile import() statements.

syntax["system-import"]

Type: Boolean
Values: [true/false]
Example

When set to false, babel will not transpile System.import() statements.

Description from the npm listing.

  • babel
  • babel-plugin
  • system
  • import
  • transformer
  • UMD

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-system-import-transformer weekly downloads on npm, last 90 days: 101,160 weekly downloads as of Dec 5, 2026, +73.8% over 90 days.babel-plugin-system-import-transformerWeekly downloads on npm · Last 90 days101,160downloads / week+73.8% over 90 days020K40K60K80K100K120KSep 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-system-import-transformer weekly downloads on npm, last 90 days: 101,160 weekly downloads as of Dec 5, 2026, +73.8% over 90 days.

7/30/90-day growth

babel-plugin-system-import-transformer weekly downloads growth on npm: +8.7% over 7 days, +14.9% over 30 days, +73.8% over 90 days.babel-plugin-system-import-transformerWeekly downloads growth on npm101,160downloads / week now7-day growth+8,101 weekly downloads+8.7%30-day growth+13,136 weekly downloads+14.9%90-day growth+42,970 weekly downloads+73.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-system-import-transformer weekly downloads growth on npm: +8.7% over 7 days, +14.9% over 30 days, +73.8% over 90 days.

Ranking history

babel-plugin-system-import-transformer npm ranking history: currently #637 (by weekly downloads).babel-plugin-system-import-transformernpm ranking · by weekly downloads · Last 90 days#637current rank#200#300#400#500#600#700Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-system-import-transformer npm ranking history: currently #637 (by weekly downloads).

Listing placement

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

Listing placement

Babel plugins263 listings · 14 pages · page 12, #20 (overall #240)
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 (592)
Recent weekly downloads observations for babel-plugin-system-import-transformer
Date (UTC)Weekly downloadsChange vs. previous
101,160+4.1K
97,091+4K
93,052-3K
96,059+4.9K
91,114+2.7K
88,442-2.4K
90,823-2.2K
93,059-2.1K
95,147-3K
98,161+3.1K
95,041-3.6K
98,620-1K
99,666+5.5K
94,152—

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