Skip to content
PluginStats

babel-plugin-module-resolver weekly downloads statistics

By tleunen (2 listings) · npm · Babel plugins

Module resolver plugin for Babel

View on npm Fresh · Oct 17, 2026

babel-plugin-module-resolver has 1,929,397 recorded weekly downloads on npm, a decrease of 50.1% over the past 30 days.

It ranks #158 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -50.7%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
1,929,397
Official API · Oct 17, 2026
7-day growth
-50.2%
-1.9M weekly downloads
30-day growth
-50.1%
-1.9M weekly downloads
90-day growth
-50.7%
-2M weekly downloads
Rank
#158
Among tracked npm listings

About babel-plugin-module-resolver

babel-plugin-module-resolver

[![Maintenance Status][status-image]][status-url] [![NPM version][npm-image]][npm-url] [![Build Status Linux][circleci-image]][circleci-url] [![Build Status Windows][appveyor-image]][appveyor-url] [![Coverage Status][coverage-image]][coverage-url]

A Babel plugin to add a new resolver for your modules when compiling your code using Babel. This plugin allows you to add new "root" directories that contain your modules. It also allows you to setup a custom alias for directories, specific files, or even other npm modules.

Description

This plugin can simplify the require/import paths in your project. For example, instead of using complex relative paths like ../../../../utils/my-utils, you can write utils/my-utils. It will allow you to work faster since you won't need to calculate how many levels of directory you have to go up before accessing the file.

Getting started

Install the plugin

or

Specify the plugin in your .babelrc with the custom root or alias. Here's an example:

.babelrc.js version Specify the plugin in your .babelrc.js file with the custom root or alias. Here's an example:

Good example: // https://gist.github.com/nodkz/41e189ff22325a27fe6a5ca81df2cb91

Documentation

babel-plugin-module-resolver can be configured and controlled easily, check the documentation for more details

Are you a plugin author (e.g. IDE integration)? We have documented the exposed functions for use in your plugins!

ESLint plugin

If you're using ESLint, you should use [eslint-plugin-import][eslint-plugin-import], and [eslint-import-resolver-babel-module][eslint-import-resolver-babel-module] to remove falsy unresolved modules. If you want to have warnings when aliased modules are being imported by their relative paths, you can use eslint-plugin-module-resolver.

Editors autocompletion

• Atom: Uses [atom-autocomplete-modules][atom-autocomplete-modules] and enable the babel-plugin-module-resolver option. • VS Code: Configure the path mapping in jsconfig.json (tsconfig.json for TypeScript), e.g.: • IntelliJ/WebStorm: You can mark your module directories as "resources root" e.g if you have ../../../utils/MyUtilFn you can mark ../../../utils as "resources root". This has the problem that your alias also has to be named utils. The second option is to add a webpack.config.js to your project and use it under File->Settings->Languages&Frameworks->JavaScript->Webpack. This will trick webstorm into resolving the paths and you can use any alias you want e.g.:

License

MIT, see LICENSE.md for details.

Who is using babel-plugin-module-resolver ?

• Algolia: InstantSearch.js • Airbnb: Lottie React Native • AppDirect • Callstack: React Native Paper • Codility • Eleme: Element • Expo: Expo SDK • FormidableLabs: Victory Native • OpenCollective: OpenCollective • React Community: React Native Maps • Uber: Seer, react-vis • Quasar Framework: Quasar • Vuetify.js Vuetify • Zeit: Next.js • Zenika: Immutadot

Are you also using it? Send a PR!

Description from the npm listing.

  • babel
  • babel-plugin
  • module
  • resolver
  • alias
  • rewrite
  • resolve
  • rename
  • mapping
  • require
  • import

Where babel-plugin-module-resolver sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 8, #18 (overall #158)
All npm: every listing in weekly downloads order
PNG SVG
Babel plugins251 listings · 13 pages · page 6, #15 (overall #115)
Babel plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

babel-plugin-module-resolver weekly downloads on npm, last 90 days: 1,929,397 weekly downloads as of Oct 17, 2026, -50.7% over 90 days.babel-plugin-module-resolverWeekly downloads on npm · Last 90 days1,929,397downloads / week-50.7% over 90 days1.5M2M2.5M3M3.5M4M4.5M5MJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
babel-plugin-module-resolver weekly downloads on npm, last 90 days: 1,929,397 weekly downloads as of Oct 17, 2026, -50.7% over 90 days.
PNG SVG

7/30/90-day growth

babel-plugin-module-resolver weekly downloads growth on npm: -50.2% over 7 days, -50.1% over 30 days, -50.7% over 90 days.babel-plugin-module-resolverWeekly downloads growth on npm1,929,397downloads / week now7-day growth-1,946,199 weekly downlo…-50.2%30-day growth-1,938,819 weekly downlo…-50.1%90-day growth-1,982,686 weekly downlo…-50.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
babel-plugin-module-resolver weekly downloads growth on npm: -50.2% over 7 days, -50.1% over 30 days, -50.7% over 90 days.
PNG SVG

Ranking history

babel-plugin-module-resolver npm ranking history: currently #158 (by weekly downloads).babel-plugin-module-resolvernpm ranking · by weekly downloads · Last 90 days#158current rank#156#157#158#159#160Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
babel-plugin-module-resolver npm ranking history: currently #158 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for babel-plugin-module-resolver
Date (UTC)Weekly downloadsChange vs. previous
1,929,397-339.4K
2,268,751+77.6K
2,191,161-844.2K
3,035,398-876.2K
3,911,5630
3,911,563+3.1K
3,908,479+32.9K
3,875,596+29.5K
3,846,129+66.6K
3,779,539-25.7K
3,805,250+18K
3,787,208-840K
4,627,166-37.8K
4,664,976—

Similar npm Babel plugins plugins

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-module-resolver. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.