property BunModules.bunGlobal

The Bun global when running on Bun, undefined elsewhere — read only for its version string. Required (rather than optional) so callers and tests state it explicitly and every version-resolution arm stays reachable.

Type

{ version?: string; } | undefined

Usage

import { type BunModules } from "runtime/src/index.ts";