bun info - BunDocumentation Index Search...⌘KInstall Bun Search...Navigation Publishing & Analysis bun infoRuntimePackage ManagerBundlerTest RunnerGuidesReferenceBlogFeedback:first-child]:!hidden peer-[.is-custom]:[&>:first-child]:sm:!hidden peer-[.is-custom]:[&>:first-child]:md:!hidden peer-[.is-custom]:[&>:first-child]:lg:!hidden peer-[.is-custom]:[&>:first-child]:xl:!hidden">Core Commandsbun installbun addbun removebun updatebunxPublishing & Analysisbun publishbun outdatedbun whybun auditbun infoWorkspace ManagementWorkspacesCatalogsbun linkbun pmAdvanced Configurationbun patchbun --filterGlobal cacheGlobal virtual storeIsolated installsLockfileLifecycle scriptsScopes and registriesOverrides and resolutionsSecurity Scanner API.npmrc support On this pageUsageViewing specific versionsViewing specific propertiesJSON outputAliasExamplesPublishing & Analysisbun info Copy pagespan]:line-clamp-1 overflow-hidden group flex items-center py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border px-3 border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5" aria-label="More actions" type="button" id="radix-_R_n4ctdbsnlht5lebsnpfdb_" aria-haspopup="menu" aria-expanded="false" data-state="closed"> *]:[overflow-wrap:anywhere]"> Copy pagespan]:line-clamp-1 overflow-hidden group flex items-center py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border px-3 border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5" aria-label="More actions" type="button" id="radix-_R_1cctdbsnlht5lebsnpfdb_" aria-haspopup="menu" aria-expanded="false" data-state="closed"> bun info displays package metadata from the npm registry.
Usage
terminal Yes NoSuggest editsRaise issuebun auditPreviousWorkspacesNext⌘I xgithubdiscordyoutubePowered byThis documentation is built and hosted on Mintlify, a developer documentation platform
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Skip to main contentBun home pageDisplay package metadata from the npm registry
bun info reactThis will display information about the react package, including its latest version, description, homepage, dependencies, and more. Viewing specific versions To view information about a specific version: terminal
bun info react@18.0.0Viewing specific properties You can also query specific properties from the package metadata: terminal
bun info react version bun info react dependencies bun info react repository.urlJSON output To get the output in JSON format, use the --json flag: terminal
bun info react --jsonAlias bun pm view is an alias for bun info: terminal
bun pm view react # equivalent to: bun info reactExamples terminal
# View basic package information bun info is-number # View a specific version bun info is-number@7.0.0 # View all available versions bun info is-number versions # View package dependencies bun info express dependencies # View package homepage bun info lodash homepage # Get JSON output bun info react --json
Was this page helpful?
bun info - Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Display package metadata from the npm registry