MCPcopy
hub / github.com/codeaashu/claude-code / isRunningWithBun

Function isRunningWithBun

src/utils/bundledMode.ts:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 * - Running a Bun-compiled standalone executable
6 */
7export function isRunningWithBun(): boolean {
8 // https://bun.com/guides/util/detect-bun
9 return process.versions.bun !== undefined
10}
11
12/**
13 * Detects if running as a Bun-compiled standalone executable.

Callers 2

isBeingDebuggedFunction · 0.85
defaultBindings.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected