HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bun-info — Display package metadata from the npm registry. More information: <https://bun.com/docs/pm/cli/info>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandmetadatafromclipackagebun-infodisplay

Problem

How to use the bun-info command: Display package metadata from the npm registry. More information: <https://bun.com/docs/pm/cli/info>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/bun-info

Revisions (0)

No revisions yet.