Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 711 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 711 Bytes

wasm_gzip

Gzip encryption and decryption wasm implementation, support Deno

Build Status GitHub GitHub release (Deno)

Usage

import {
  gzipDecode,
  gzipEncode,
} from "https://github.com/manyuanrong/wasm_gzip/raw/master/mod.ts";

const helloWorld = new TextEncoder().encode("Hello World");

const encoded = gzipEncode(helloWorld);
const decoded = gzipDecode(encoded);