mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
843 B
Plaintext
38 lines
843 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# npm view
|
|
|
|
> View registry information about a package.
|
|
> More information: <https://docs.npmjs.com/cli/npm-view>.
|
|
|
|
- View information about the latest version of a package:
|
|
|
|
`npm {{[v|view]}} {{package}}`
|
|
|
|
- View information about a specific version of a package:
|
|
|
|
`npm {{[v|view]}} {{package}}@{{version}}`
|
|
|
|
- View all available versions of a package:
|
|
|
|
`npm {{[v|view]}} {{package}} versions`
|
|
|
|
- View the description of a package:
|
|
|
|
`npm {{[v|view]}} {{package}} description`
|
|
|
|
- View the dependencies of the latest version of a package:
|
|
|
|
`npm {{[v|view]}} {{package}} dependencies`
|
|
|
|
- View the repository URL of a package:
|
|
|
|
`npm {{[v|view]}} {{package}} repository`
|
|
|
|
- View the maintainers of a package:
|
|
|
|
`npm {{[v|view]}} {{package}} maintainers`
|