Skip to content
JS
Package

babel-plugin-transform-rewrite-imports

Add an extension to import specifiers that do not already have one, replace the extensions of those that do, or even rewrite specifiers entirely

v1.5.4, 26 Aug 2025MITCommonJSTypes: BundledTypeScript tooling
$ npm install babel-plugin-transform-rewrite-imports

Key numbers

As of 25 Sept 2026
Weekly downloads
3.8k
+313% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 year ago
v1.5.4
GitHub stars
5
0 forks
Open issues / PRs
0 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 8.9k (28 Jul 2026)Low 564 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,806 downloads last week, 19,855 in the last month. The 12-month change of +313% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.5.4, 26 Aug 20251 year ago
First published
-
Last push to GitHub
4 Sept 2025385 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.18.0 || >=22.12.0
Runtimes
-
Unpacked size (npm)
63 kB
Dependencies (4)
core-jsrejoinder@babel/types@babel/template
Peer dependencies (1)
@babel/core
npm install babel-plugin-transform-rewrite-imports
  • jsDelivrhttps://cdn.jsdelivr.net/npm/babel-plugin-transform-rewrite-imports@1.5.4/
  • unpkghttps://unpkg.com/babel-plugin-transform-rewrite-imports@1.5.4/
  • esm.shhttps://esm.sh/babel-plugin-transform-rewrite-imports@1.5.4
PackageWeekly downloadsGzipLast releaseModuleComparison
@wessberg/rollup-plugin-ts5.7k-4 years agoESM + CommonJS-
typescript-transform-paths313.5k-4 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3806 < 10000.