Forrest logo
back to the npm tool

npm-query:tldr:b69a8

npm-query: Print direct dependencies.
$ npm query ':root > *'
try on your machine

The command npm query ':root > *' is not a valid npm command.

The npm query command is used to retrieve information about packages that are installed in your local npm environment. However, the provided argument ':root > *' is not a valid query syntax.

If you intended to perform a search using the npm registry, you would use the npm search command followed by your search term. For example, npm search express would search for packages related to the term "express" in the npm registry.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the npm tool