yarn npm info
This command fetches information about a package from the registry and prints it as JSON.
The argument can be any of the following forms:
-
— return information about the version associated with thelatestdist-tag. -
— return information about the specified version.@ -
— return information about the highest version that satisfies the range.@ -
— return information about the version associated with the given dist-tag.@
Options
| Option | Description |
|---|---|
--json | Format the output as JSON (the default) |