I use npm-check to manage npm packages. Here are the docs.
npm-check
# Shows outdated packages npx npm-check # Interactive mode npx npm-check -u # Updates all without prompt npx npm-check -y