Ensure you are running a minimum version of Deno, Typescript, or V8
⚠️ Warning The examples in this README pull frommain
. you may want to "pin" to a particular version by using git tags in the URL to direct you at a particular version. For example, to use v1.2.0 ofhyperupcall/ensure
, you would want to importhttps://deno.land/x/ensure@v1.2.0/mod.ts
.
Note that it hasn't been tested with rc-1
type release versions yet
import { ensure } from 'https://deno.land/x/ensure/mod.ts'
ensure({
denoVersion: "1.0.0",
typeScriptVersion: "3.8"
})
You can pin to a specific version. Here are some examples:
# deno 1.0.3 and std v0.53.0
https://deno.land/x/ensure/v1.0.3/mod.ts