tidy-deps
v1.0.4
Published
Easily detect and remove unused npm dependencies
Maintainers
Readme
tidy-deps
Easily detect and remove unused npm dependencies in your project.
Features
- Scan your
package.jsonfor unused dependencies - Interactive prompts before deleting
- Automatically uninstall unused packages
- Supports both
dependenciesanddevDependencies
Installation
1. Install globally
npm install -g tidy-deps2. Navigate to your project
cd my-project3. Run tidy-deps
tidy-depsUsage
Simply run the command inside any Node.js project:
tidy-depsExample output:
? Unused dependency found: chalk
Do you want to remove it? (y/N) y
✔ chalk removed successfully
? Unused dependency found: lodash
Do you want to remove it? (y/N) n
✖ lodash keptRequirements
Node.js >= 14
📜 License
MIT © 2025 Tariq Yunusa
