Files
cheatsheet-tldr/tldr/npm-check
2025-08-03 00:24:25 +00:00

26 lines
541 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm-check
> Check for outdated, incorrect, and unused npm package dependencies.
> More information: <https://github.com/dylang/npm-check>.
- Display a report of outdated, incorrect, and unused dependencies:
`npm-check`
- Interactively update out-of-date packages:
`npm-check {{[-u|--update]}}`
- Update everything without prompting:
`npm-check {{[-y|--update-all]}}`
- Don't check for unused packages:
`npm-check {{[-s|--skip-unused]}}`