Effortlessly audit and manage your project's dependencies.
Project details
Dependency Checker offers a comprehensive solution for auditing repository dependencies. With its check-dependencies Agent Skill and CLI tool, it provides insights into package declarations, locked versions, and potential update impacts—all without running the target project code. Streamline your dependency management process effectively.
Dependency Checker offers a comprehensive solution for performing repository dependency audits through its check-dependencies Agent Skill. This tool is equipped with powerful MCP tools and a depcheck CLI, which utilize a scanning mechanism to gather essential data such as declarations, locked versions, and source usage. The tool enables users to inspect packages, understand their impact, and preview supported updates based on empirical evidence.
Dependency Checker supports a variety of ecosystems, allowing for flexible integration with numerous project setups:
pyproject.toml, requirements files, and more.package.json, npm locks, and other JS-specific configurations.Cargo.toml and its associated inventory attestations.bazel_dep calls and other configuration particulars.To initiate a scan for dependencies in a given directory, the following command can be utilized:
depcheck scan . --offline --format json
This command scans the current directory and generates a JSON report, illustrating the dependencies in use. Furthermore, users can leverage other commands for specific needs, such as:
depcheck scan . --security --compatibility --python-version 3.12
This command performs a detailed scan including security and compatibility analysis.
To use the Dependency Checker, download the latest Agent Skill bundle from the GitHub Releases, ensuring to verify against SHA-256 checksums provided. A Python 3.11 environment is necessary, and the installation can be initiated via the following commands:
python -m venv .venv
.venv/bin/python -m pip install -e .
.venv/bin/depcheck --version
Dependency Checker is a robust and essential tool for maintaining healthy dependency management within projects. It provides thorough insights into package usages and advisories, ensuring that developers can make informed decisions for their projects. For further exploration, refer to the detailed documentation available in the repository.
Comments
0Start the conversation
Share the first comment.