npm-query
Verified for current stable LTS
Npm Query Command: Print Dependencies With Name And Version Range
Use for print dependencies with name and version range with Npm Query. Exact CLI syntax to print dependencies with name and version range using Npm Query.
When to use this: Use for print dependencies with name and version range with Npm Query.
Command Syntax
npm query '#<package>@<semantic_version>' npm query '#<package>@<semantic_version>' Command Breakdown
npm is the base executable for this command.
FAQ
Purpose: Exact syntax to print dependencies with name and version range using Npm Query.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
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 Command: Find Git Dependencies And Requirements npm query ':type(git)' | jq 'map(.name)' | xargs -I _ npm why _ Npm Query Command: Print All Direct Dependencies npm query ':root > .<prod|dev>' Npm Query Command: Print Dependencies With No Dependencies npm query ':empty' Npm Query Command: Print Dependencies With Specific Name npm query '#<package>'