runtime_version.ts

The runtime_version host module: the name and version of the runtime running the process, as an import rather than a global.

This is the Node implementation, which runs on the Node Gro. Its gap against the runtime's builtin, which it documents rather than the API weakening to match: the global process stays, and any module can read process.version.

view source

Declarations
#

runtime_version
#

runtime_version.ts view source

string import {runtime_version} from '@fuzdev/gro/runtime_version.js';

The runtime's name and version, opaque, like node/v24.14.0 here and fgro/0.1.0+<commit> on the runtime, for display and for keying caches by the runtime that made them. Compare it for equality only; a program that branches on it is one this module can't serve.

Imported by
#