babel-plugin-module-resolver streamlines JavaScript module imports in Babel projects. It allows you to define custom aliases and root directories, making relative paths shorter and more manageable. This enhances code readability and maintainability by decoupling module locations from file structure. Configure aliases to map arbitrary paths to specific modules, simplifying imports and enabling smoother refactoring. Supports various resolver strategies for complex project layouts.
The npm package babel-plugin-module-resolver had initial releases in 2016, with peaks in August 2016 and March 2017. Releases became infrequent after that, with occasional versions appearing sporadically. The last release was in April 2024 (versions 5.0.1 and 5.0.2). There have been no releases in 2025 as of September 13th.
Babel-plugin-module-resolver downloads steadily increased from March 2024 to June 2025, peaking at over 13 million. After that, there was a slight decline in July and August, and a substantial drop in September 2025, likely due to incomplete data for the current month.