npm-query
Verified for current stable LTS
Npm Query Commands
Npm Query command syntax with verified terminal examples.
Commands
7 commands for Npm Query
npm-query HTTP
Npm Query Command: Find And Uninstall Postinstall Scripts
npm query ':attr(scripts, [postinstall])' | jq 'map(.name) | join("\n")' -r | xargs -I _ npm uninstall _ npm-query Operations
Npm Query Command: Find Git Dependencies And Requirements
npm query ':type(git)' | jq 'map(.name)' | xargs -I _ npm why _ npm-query Operations
Npm Query Command: Print All Direct Dependencies
npm query ':root > .<prod|dev>' npm-query Operations
Npm Query Command: Print Dependencies With Name And Version Range
npm query '#<package>@<semantic_version>' npm-query Operations
Npm Query Command: Print Dependencies With No Dependencies
npm query ':empty' npm-query Operations
Npm Query Command: Print Dependencies With Specific Name
npm query '#<package>' npm-query Operations
Npm Query Command: Print Direct Dependencies
npm query ':root > *' Suggest a Npm Query Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Npm Query workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.