Inspiration

While working on React / React Native projects, I noticed how often development gets interrupted by dependency issues like missing modules, version conflicts, or unused packages. I wanted a tool that fixes these problems automatically instead of wasting time debugging them manually.

What it does

I built Auto-dep-install, a Node.js CLI tool that automatically detects missing dependencies, installs them instantly, updates outdated packages, and removes unused ones—making package management smoother while developing.

How I built it

I built it using Node.js + TypeScript, designed as a lightweight CLI that works with NPM, Yarn, and PNPM. It scans the project, identifies dependency issues, and applies the right install/update/cleanup commands based on the package manager being used.

Challenges I ran into

The main challenges were handling different package manager behaviors, avoiding breaking changes during updates, and accurately detecting unused dependencies without false positives.

What I learned

I learned how real-world dependency management works, how to build reliable CLI tools, and how to support multiple package managers with clean TypeScript architecture.

Built With

Share this project:

Updates