Skip to main content
Deno 2 is finally here 🎉️
Learn more

Deno-Deno

Explicitly import deno interfaces to handle versioning and compatibility, while also making Deno a pollyfill when not available.

// import the Deno 1.42.1 interface, the trailing ".1" is the version of the polyfill on browsers and nodejs
import Deno from "https://deno.land/x/deno_deno/main.js@1.42.1.1"

Deno.exit(0)