Repository
Current version released
7 months ago
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.2"
import { readFileSync } from "https://deno.land/x/deno_deno/main.js@1.42.1.2"
Deno.exit(0)