bun info displays package metadata from the npm registry.
Usage
terminal
bun info react prints the package’s latest version, description, homepage, dependencies, and other metadata.
Viewing specific versions
To view information about a specific version:terminal
Viewing specific properties
To print specific properties from the package metadata:terminal
JSON output
To get the output in JSON format, use the--json flag:
terminal
Alias
bun pm view is an alias for bun info:
terminal
Examples
terminal