mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 04:58:25 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/bun-info
Normal file
25
tldr/bun-info
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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`
|
||||
Reference in New Issue
Block a user