Package Information in NPM
From the NPM Package Manager cheat sheet ยท Security & Maintenance ยท verified Jul 2026
Package Information
Inspect and analyze packages
bash
# View package info
npm view express
npm view express version # Latest version
npm view express versions # All versions
# List installed packages
npm ls
npm ls --depth=0 # Top level only
npm ls express # Find specific package
# Show package size
npm ls --prod --parseable | wc -l
# Find duplicate packages
npm dedupe --dry-run
npm find-dupes
# Package funding info
npm fund
npm fund express๐ก Use npm explain to understand dependencies
๐ npm fund shows open-source funding info
โก npm dedupe reduces duplicate packages
๐ข Essential for dependency management
๐ Related: npm-check, npm-check-updates
infoanalysis