babel-plugin-filter-imports weekly downloads statistics
By ember-cli (3 listings) · npm · Babel plugins
A babel transform for filtering out imports
babel-plugin-filter-imports has 53,930 recorded weekly downloads on npm, a decrease of 58.5% over the past 30 days.
It ranks #542 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -58.3%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About babel-plugin-filter-imports
babel-plugin-filter-imports
This babel plugin is used to removed references to imports within a module. This can be useful for removing debugging statements when doing a production build of your code. It is often used in conjunction with other tools like Uglify that perform dead code elimination.
Installation
*This plugin is for Babel 7. If you need to support:* • *Babel 6 use the babel6 branch* • *Babel 5 use the v0.2.x branch*
Example
Given the .babelrc
the module
will be transformed to
Configuration
• options[keepImports] [Boolean]: An flag that indicates imports removal from header. • options[imports] [Object]: An object whose keys are names of modules. • options[imports][moduleName] [String]: An array of names of imports from moduleName to be removed. You can include 'default' for default export and '*' for a namespace export.
Upgrade to 1.x/2.x
There were breaking changes in the plugin configuration, you must update it to work correctly.
Before 1.x
After
Description from the npm listing.
- babel
- babel-plugin
Where babel-plugin-filter-imports 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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 (543)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-filter-imports. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.