1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

npm-view: add page (#14269)

* Create npm-view.md

* Update npm-view.md
This commit is contained in:
ashborn 2024-10-19 16:02:34 +05:30 committed by GitHub
parent 70cb89fbf8
commit 63f1642391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

32
pages/common/npm-view.md Normal file
View file

@ -0,0 +1,32 @@
# 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`