Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.version

A modern runtime for JavaScript and TypeScript.
Go to Latest
variable Deno.version
import { Deno } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.ns.d.ts";
const { version } = Deno;

Version information related to the current Deno CLI runtime environment.

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

{ deno: string; v8: string; typescript: string; }