check-package-updates
v1.0.2
Published
CLI tool to check outdated dependencies and license changes in your package.json
Downloads
16
Maintainers
Readme
📦 Package Version Checker
A CLI tool that scans your project’s package.json to check:
- Outdated dependencies
- License changes between versions
- License conflicts across dependencies
- (Optional) caching for faster repeated scans
🚀 Installation
npm install -g check-package-updatesor run directly with npx:
npx check-package-updates🧭 Usage
npx check-package-updates Scan all dependencies
npx check-package-updates --prod Scan only production dependencies
npx check-package-updates --dev Scan only development dependencies
npx check-package-updates --licenses Show license info only
npx check-package-updates --json Output results as JSON (useful for CI/CD)
npx check-package-updates --cache Enable caching for faster results🧠 Example Output
⚠️ Outdated chalk: ^4.1.0 → 5.3.0 | License: MIT → MIT ✅ Up-to-date react: ^18.2.0 → 18.2.0 | License: MIT → MIT
✅ All packages share compatible licenses. 🧠 Cache disabled. Use --cache to enable caching.
🗃 Cache When --cache is enabled, results are saved in .cache/package-checker.json. Cache entries expire after 24 hours.
⚖️ License Licensed under the MIT License.
💡 Author Built by Hasitha Priyasad
