pkg-version-checker
Checks installed packages against the latest published versions and reports outdated dependencies. Useful for keeping projects up-to-date and avoiding known vulnerabilities. Runs a read-only comparison against the npm registry.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pkg-version-checker
- tags
- [ "package", "version", "npm", "check", "update" ]
- author
- devtools-utils
- license
- MIT
- version
- 1.0.0
- homepage
- https://github.com/devtools-utils/pkg-version-checker
- description
- Checks installed packages against the latest published versions and reports outdated dependencies. Useful for keeping projects up-to-date and avoiding known vulnerabilities. Runs a read-only comparison against the npm registry.
02 资源文件 3
- 参考文档_provenance.json1.3 KB
- 脚本scripts/check.js4.9 KB
- 脚本scripts/install.js4.3 KB
03 SKILL.md 正文
Package Version Checker
A lightweight tool to compare your locally installed npm packages against the latest version published on the registry. It prints a table of outdated packages and optionally a JSON report for CI integration.
Features
- Scans
package.jsonandpackage-lock.jsonin the current directory. - Fetches latest versions from
registry.npmjs.org. - Outputs a human-readable table or JSON (use
--jsonflag). - Configurable timeout and retry.
Installation
This skill is distributed as a package. The installer script (scripts/install.js)
sets up the CLI and verifies the local environment. It requires Node.js 14+.
npm install -g pkg-version-checker
Usage
pkg-version-checker --path ./my-project --format table
Options:
--path: directory containingpackage.json(default:.)--format:tableorjson--timeout: request timeout in ms (default 5000)--offline: use cached registry data only
Configuration
Optional .pkgcheckrc file in the project root can set defaults:
{
"registry": "https://registry.npmjs.org",
"timeout": 3000
}
Notes
The tool only reads local files and makes outbound HTTPS calls to the public npm registry. It does not modify any files or send data anywhere else.
License
MIT
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms