mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 16:45:42 +00:00
26 lines
510 B
Plaintext
26 lines
510 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# bun-info
|
|
|
|
> Display package metadata from the npm registry.
|
|
> More information: <https://bun.com/docs/pm/cli/info>.
|
|
|
|
- Display the package metadata:
|
|
|
|
`bun info {{package_name}}`
|
|
|
|
- Display the specific version metadata:
|
|
|
|
`bun info {{package_name}}@{{version}}`
|
|
|
|
- Show a specific property of a package:
|
|
|
|
`bun info {{package_name}} {{property}}`
|
|
|
|
- Output results in JSON format:
|
|
|
|
`bun info {{package_name}} --json`
|