npm-check-updates is a tool for updating your package.json dependencies to the latest versions while maintaining existing semantic versioning policies. It only modifies the package.json file, and you must run npm install to update your installed packages and package-lock.json. The tool supports npm, yarn, pnpm, deno, and bun, and can be used via CLI or as a module. It offers a variety of options for filtering packages, running interactive updates, and configuring advanced features.
Table of contents
InstallationUsageInteractive ModeFilter packagesHow dependency updates are determinedOptionsAdvanced OptionsdoctorfilterfilterResultsfilterVersionformatgroupFunctioninstallpackageManagerpeerregistryTyperejectrejectVersiontargetConfig FileModule/Programmatic UsageContributingProblems?Sort: