Files
cheatsheet-tldr/tldr/bun-info
2025-11-19 00:20:57 +00:00

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`