depvital
v0.4.0
Published
A production-ready CLI tool for analyzing project dependencies' health, security, and maintenance.
Maintainers
Readme
depvital
A production-ready CLI tool for analyzing project dependencies' health, security, and maintenance.
depvital provides a comprehensive report on your project's dependencies by consolidating:
- Outdated Status: Current vs latest versions.
- Security & Deprecations: Known vulnerabilities and deprecated packages.
- Maintenance Health: GitHub activity, stars, and issue ratios.
- Changelogs: Direct extraction of the latest release notes.
Quick Start
Try it directly without installation:
npx depvitalFeatures
- 📦 Multi-Package Manager Support: Works with
npm,yarn, andpnpm. - ✅ Zod-Powered Validation: Strict validation of all external data boundaries.
- 📊 Maintenance Scoring: Computes a health score based on commit recency and community metrics.
- 🔄 Interactive Updates: Select and update outdated dependencies directly via the CLI.
- 🛡️ Fail Thresholds: Configurable failure based on vulnerability severity.
- ⚡ Smart Caching: Local caching to avoid API rate limits.
- 🔍 Extensive Debugging: Full instrumentation with the
--debugflag.
Installation
npm install -g depvital
# or
pnpm add -g depvitalUsage
# Basic analysis
depvital
# Fail on high severity vulnerabilities
depvital --fail-on high
# Interactive update
depvital --update
# JSON output
depvital --json > report.json
# Debugging
depvital --debug
# Suppress progress bar
depvital --no-progressDevelopment Workflow
npm run dev: Starts the development server.npm run build: Builds the project for production.npm run lint: Lints and formats the codebase.npm run test: Runs the test suite.npm run ci: Full CI pipeline.
Tooling
- TypeScript (ES2024): Strict type safety.
- Commander: CLI framework.
- Zod: Data validation.
- Vitest: Testing framework.
- oxlint: High-performance linter.
- Prettier: Code formatting.
