npm Cheat Sheet/View package metadata

Show metadata from the registry.

Section: Inspect packages and metadata

View package metadata

bash
bash
npm view <package>
Explanation

Show metadata from the registry.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inspect packages and metadata
View latest package version
Show the current published version.
OpenIn sheetbashsame section
List installed packages
Show installed dependency tree.
OpenIn sheetbashsame section
Show outdated packages
List packages with newer available versions.
OpenIn sheetbashsame section
Explain why a package is installed
Show why a package exists in the dependency tree.
OpenIn sheetbashsame section
Query installed packages
Query dependency tree nodes using selectors.
OpenIn sheetbashsame section
Show funding information
Display funding URLs for dependencies.
OpenIn sheetbashsame section