MCPcopy Create free account
hub / github.com/Noumena-Network/code / isRunningWithBun

Function isRunningWithBun

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

Source from the content-addressed store, hash-verified

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

Callers 3

isBeingDebuggedFunction · 0.85
defaultBindings.tsFile · 0.85
packageSmoke.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected