import { type RuntimeInfo } from "https://deno.land/x/ayonli_jsext@v0.9.72/runtime.ts";
The information of the runtime environment in which the program is running.
Properties
identity: WellknownRuntime | "unknown"
A string identifying the runtime.
The version of the runtime. This property may be undefined
if the
runtime doesn't provide version information, or when the runtime is
unknown
.
Whether the runtime has file system support. When true
, the program can
use the @ayonli/jsext/fs
module to access the file system.
Whether the runtime has TypeScript support. When true
, the program can
import TypeScript files directly.