Dependency Analysis
Route: /dependency-analysis
Paste a package.json and get insight into your project's dependencies —
vulnerabilities, counts, and a dependency tree.
Features
- Package categorization & counts — dependencies vs. devDependencies, totals.
- Vulnerability scanning via the OSV.dev database.
- Dependency tree built from npm registry metadata (depth-limited to keep results manageable).
- Outdated/insight reporting for your declared dependencies.
How it works
The tool uses two server-side route handlers:
POST /api/vulnerability-check— queries OSV.dev for known vulnerabilities affecting your packages.POST /api/dependency-tree— fetches package metadata from the npm registry and builds a tree (limited to a maximum depth to avoid huge or circular graphs).
Using it
- Open Dependency Analysis from the sidebar.
- Paste the contents of your
package.json. - Run the analysis to see counts, vulnerabilities, and the dependency tree.
Related
- SBOM Report — analyze an SPDX Software Bill of Materials.
- API Reference →
/api/vulnerability-check - API Reference →
/api/dependency-tree