Module

x/denoflate/build.ts

WebAssembly powered Deflate/Gzip/Zlib compression for Deno, written in Rust
Extremely Popular
Go to Latest
File
const wasm = await Deno.readFile("./pkg/denoflate_bg.wasm");
await Deno.writeTextFile("./pkg/denoflate_bg.wasm.js", `export const wasm = new Uint8Array([${wasm.join(",")}]);`);
await Deno.remove("./pkg/.gitignore")await Deno.remove("./pkg/README.md")await Deno.remove("./pkg/package.json")