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

x/foras/src/deno/mods/mod.ts>init

WebAssembly port of Rust's flate2, a Rust implementation of Deflate, Gzip, and Zlib compressions
Go to Latest
function init
Re-export
import { init } from "https://deno.land/x/foras@2.0.6/src/deno/mods/mod.ts";

If module_or_path is {RequestInfo} or {URL}, makes a request and for everything else, calls WebAssembly.instantiate directly.

Parameters

optional
module_or_path: InitInput | Promise<InitInput>