Skip to main content
variable Deno.build

Information related to the build of the current Deno runtime.

Users are discouraged from code branching based on this information, as assumptions about what is available in what build environment might change over time. Developers should specifically sniff out the features they intend to use.

The intended use for the information is for logging and debugging purposes.

type

{ target: string; arch: "x86_64" | "aarch64"; os:
| "darwin"
| "linux"
| "windows"
| "freebsd"
| "netbsd"
| "aix"
| "solaris"
| "illumos"
; vendor: string; env?: string; }