https://github.com/manyuanrong/wasm_gzip
Gzip encryption and decryption wasm implementation, support Deno
https://github.com/manyuanrong/wasm_gzip
Last synced: about 1 month ago
JSON representation
Gzip encryption and decryption wasm implementation, support Deno
- Host: GitHub
- URL: https://github.com/manyuanrong/wasm_gzip
- Owner: manyuanrong
- License: mit
- Created: 2020-05-26T09:12:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T08:13:56.000Z (over 4 years ago)
- Last Synced: 2024-10-04T13:29:21.398Z (6 months ago)
- Language: JavaScript
- Size: 81.1 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-deno-cn - @manyuanrong/wasm-gzip
- awesome-deno - wasm-gzip - Perform gzip operations for Deno. (Modules / Utils)
README
# wasm_gzip
Gzip encryption and decryption wasm implementation, support Deno
[](https://github.com/manyuanrong/wasm_gzip/actions)


## Usage
```ts
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);
```