UNPKG

@hazae41/foras

Version:

WebAssembly port of Deflate, Gzip, and Zlib compression algorithms

12 lines (9 loc) 489 B
import { __wbg_init } from '../../../wasm/pkg/foras.mjs'; export { DeflateDecoder, DeflateEncoder, GzDecoder, GzEncoder, Memory, ZlibDecoder, ZlibEncoder, deflate, gunzip, gzip, inflate, initSync, unzlib, zlib } from '../../../wasm/pkg/foras.mjs'; import { data } from '../../../wasm/pkg/foras.wasm.mjs'; let output = undefined; async function initBundledOnce() { return output ??= await __wbg_init(data); } export { __wbg_init, initBundledOnce }; //# sourceMappingURL=index.mjs.map