dep-checkify
v1.0.3
Published
An interactive CLI tool to identify and manage unused, missing, and outdated dependencies in Node.js projects.
Downloads
441
Maintainers
Readme
🚀 DepCheckify
DepCheckify is a premium, interactive CLI tool designed to keep your Node.js projects lean and healthy. It intelligently audits your dependencies, identifying exactly what's unused, missing, or outdated, and lets you manage them through a beautiful, terminal-based interface.
✨ Key Features
- 🔍 Intelligent Scanning – Scans your source code to find dependencies that are used but not declared in
package.json. - 🗑️ Unused Detection – Spots the "ghost" dependencies that are sitting in your
package.jsonbut never actually imported. - 🆙 One-Click Updates – Checks for the latest versions and lets you update them instantly.
- 🎨 Premium UI – Experience a CLI that feels like a modern app, featuring vibrant banners, smooth animations (loading spinners), and a double-bordered aesthetic.
- 🛠️ Interactive Management – No more typing long
npm installstrings. Use a checkbox-driven console to select your actions. - 🛡️ Safety First – Includes a Dry-Run mode to preview changes and a final confirmation step before any file mutations.
- ⚡ Modern ESM – Fully optimized for the modern Node.js ecosystem.
🚀 Quick Start
You don't even need to install it to try it out. Run it directly via npx:
npx dep-checkifyGlobal Installation
To have the depcheckify command available everywhere:
npm install -g dep-checkify🛠 Usage
Once installed, simply type the command in your project's root directory:
depcheckifyAvailable Options
| Option | Shorthand | Description |
| :--- | :--- | :--- |
| --dry-run | -d | Preview planned actions without executing them. |
| --path <path> | -p | Specify a custom project directory to scan. |
| --version | -v | Display the current version of DepCheckify. |
| --help | -h | Display the help documentation. |
⚙️ How It Works
- Deep Scan: Leverages advanced AST analysis to map every import in your codebase.
- Audit Report: Categorizes findings into actionable groups (Unused, Missing, Outdated).
- Selection: You choose exactly which packages to handle using a checklist.
- Verification: DepCheckify prepares the exact
npmcommands for your review. - Execution: Commands are executed programmatically, saving you time and reducing errors.
📁 Support for "Raw" Projects
Running depcheckify in a folder without a package.json? We've got you covered. The tool will:
- Discover all required modules from your scripts.
- Suggest missing dependencies.
- Help you initialize a fresh
package.jsonwith all detected requirements.
📄 License
This project is licensed under the ISC License. See the LICENSE file for details.
