deprisk
v0.3.0
Published
Dependency Risk Advisor for Node.js projects
Maintainers
Readme
deprisk
Dependency Risk Advisor for Node.js projects.
Identify maintenance risks, declining trends, and deprecated packages in your project. Deprisk suggests modern alternatives to help minimize technical debt and ensure long-term stability.
Features
- Risk Assessment: Analyze dependencies for maintenance activity, usage trends, and deprecation status.
- Health Scoring: Get an overall health score for your project's dependency tree.
- Trend Detection: identify packages losing community momentum before they are abandoned.
- Mitigation Suggestions: Curated suggestions for modern replacements of high-risk legacy packages.
- CI/CD Integration: JSON output for automated build pipeline checks.
Installation
Install globally via npm:
npm install -g depriskOr run directly with npx:
npx deprisk scan .Usage
Scan for Dependency Risk
Analyze the current project to see health scores and risk levels.
deprisk scan .To output results in JSON format for automation:
deprisk scan . --jsonGet Migration Suggestions
Get recommended modern alternatives for declining or deprecated packages.
deprisk suggest .How It Works
Deprisk evaluates risk factors by pulling real-time data from the npm registry and download statistics:
- Maintenance: Time since last update and release frequency.
- Deprecation: Official deprecation status on the npm registry.
- Popularity: Weekly download volume and long-term trends.
- Community Health: Heuristics to detect if a package is gaining or losing users.
License
MIT LICENSE
