mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 12:42:07 +02:00
32 lines
703 B
Markdown
32 lines
703 B
Markdown
# npm view
|
|
|
|
> View registry information about a package.
|
|
> More information: <https://docs.npmjs.com/cli/commands/npm-view>.
|
|
|
|
- View information about the latest version of a package:
|
|
|
|
`npm view {{package}}`
|
|
|
|
- View information about a specific version of a package:
|
|
|
|
`npm view {{package}}@{{version}}`
|
|
|
|
- View all available versions of a package:
|
|
|
|
`npm view {{package}} versions`
|
|
|
|
- View the description of a package:
|
|
|
|
`npm view {{package}} description`
|
|
|
|
- View the dependencies of the latest version of a package:
|
|
|
|
`npm view {{package}} dependencies`
|
|
|
|
- View the repository URL of a package:
|
|
|
|
`npm view {{package}} repository`
|
|
|
|
- View the maintainers of a package:
|
|
|
|
`npm view {{package}} maintainers`
|