Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/packup/before_testing.ts

📦 Zero-config web application packager in Deno
Go to Latest
File
import { ensureDir } from "./deps.ts";import { installWasm, wasmCacheDir, wasmPath } from "./install_util.ts";
const path = wasmPath();
await ensureDir(wasmCacheDir());try { await Deno.lstat(path);} catch (e) { if (e.name === "NotFound") { await installWasm(); Deno.exit(0); } throw e;}