updating-npm-package
Installation
SKILL.md
Updating an npm Package
Use this skill when the user asks to update, upgrade, or bump a specific npm dependency.
Steps
-
Check the current version — read
package.jsonto find the installed version:npm ls <package-name> -
Find the latest version on npm — fetch the package info:
npm view <package-name> versions --json npm view <package-name> dist-tags --json