CmdID

CmdID / Commands

npm-query

Print an array of dependency objects using CSS-like selectors. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Print direct dependencies

npm query ':root > *'Identify

Print all direct production/development dependencies

npm query ':root > .prod'Identify

Print dependencies with a specific name

npm query '#package'Identify

Print dependencies with a specific name and within a semantic versioning range

npm query '#package@semantic_version'Identify

Print dependencies which have no dependencies

npm query ':empty'Identify

Find all dependencies with postinstall scripts and uninstall them

npm query ":attr(scripts, [postinstall])" | jq 'map(.name) | join("\n")' --raw-output | xargs -I _ npm uninstall _Identify

Find all Git dependencies and print which application requires them

npm query ":type(git)" | jq 'map(.name)' | xargs -I _ npm why _Identify