Skip to content

Replacements for npm-check ​

Package manager built-in commands ​

Modern package managers cover checking for and applying dependency updates out of the box, with no extra dependency.

npm ​

sh
npm outdated
npm update

pnpm ​

sh
pnpm outdated
pnpm update --interactive --latest

yarn ​

sh
yarn upgrade-interactive

bun ​

sh
bun outdated
bun update --interactive

In monorepos, use --recursive to cover all workspaces, or --filter to target specific ones:

sh
bun outdated --recursive
bun update --interactive --filter '@myorg/*'

taze ​

If you want more than the built-ins offer (e.g. monorepo-wide updates, grouped output, update modes), taze is a modern, smaller alternative to npm-check.

sh
# check for updates
npx taze

# write updates to package.json
npx taze -w

# include major version bumps
npx taze major -w

NOTE

npm-check's unused-dependency detection is not covered by these commands. You can use knip for that instead.

Released under the MIT License. (13757e3d)