Preparing for system design interviews?  Try bugzed.com →

babel-plugin-remove-unused-vars

JSON →
library 2.2.0 ·javascript
verified Jun 17, 2026

A Babel plugin that automatically removes unused variables, imports, function arguments, and destructured bindings from JavaScript code, acting as a Babel-based autofix for ESLint's no-unused-vars rule. As of version 2.2.0, it supports source-to-source transformations and is intended for use as a build tool to clean up code. The plugin runs via Babel CLI or programmatically and handles common cases but has known limitations with deep assignment expressions. It is released under the MIT license with moderate maintenance cadence on GitHub, positioned as a more aggressive alternative to manual lint fixes or tree-shaking.

total hits 12
actors 4 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
ByteDance
3
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France