npm-ls
Print installed packages to stdout. tldr-pages
On several platforms
Several platforms
Print all versions of direct dependencies in the current project to stdout
npm [lsIdentifyPrint all installed packages including peer dependencies
npm [ls --allIdentifyPrint all globally installed packages
npm [ls --globalIdentifyPrint dependencies with extended information
npm [ls --longIdentifyPrint dependencies in parseable format
npm [ls --parseableIdentifyPrint dependencies in JSON format
npm [ls --jsonIdentify