Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-19 00:20:57 +00:00
parent 83af6b3c72
commit c80d49f5d0
26 changed files with 464 additions and 13 deletions

25
tldr/bun-info Normal file
View 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`