{"id":17176270,"url":"https://github.com/snosme/ooz-wasm","last_synced_at":"2025-07-26T23:32:37.755Z","repository":{"id":57314956,"uuid":"298537130","full_name":"SnosMe/ooz-wasm","owner":"SnosMe","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-14T13:15:02.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T18:07:38.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SnosMe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-25T10:09:42.000Z","updated_at":"2023-11-14T10:53:16.000Z","dependencies_parsed_at":"2024-06-21T05:47:52.207Z","dependency_job_id":"066518db-b8b6-46c8-9084-13c9cff92072","html_url":"https://github.com/SnosMe/ooz-wasm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnosMe%2Fooz-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnosMe%2Fooz-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnosMe%2Fooz-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnosMe%2Fooz-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnosMe","download_url":"https://codeload.github.com/SnosMe/ooz-wasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227732945,"owners_count":17811493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:59:45.134Z","updated_at":"2024-12-02T13:23:09.620Z","avatar_url":"https://github.com/SnosMe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ooz-wasm\n\n[![](https://img.shields.io/npm/v/ooz-wasm/latest?color=CC3534\u0026label=ooz-wasm\u0026logo=npm\u0026labelColor=212121)](https://www.npmjs.com/package/ooz-wasm)\n\nWASM bindings for [ooz](https://github.com/powzix/ooz): Open source Kraken, Mermaid, Selkie, Leviathan, LZNA, Bitknit decompressor.\n\n### Notes\n\n- `.wasm` file is base64 embedded using `-s SINGLE_FILE=1`.\n- WebAssembly Module is compiled when the ESM module is imported using a top-level `await`.\n\nRequires browser WebAssembly SIMD support.\n- Can be enabled in Chromium-based browsers on `about://flags/#enable-webassembly-simd`\n- Can be enabled in Firefox on `about:config` `javascript.options.wasm_simd`\n\n### Usage\n\n```ts\n// Decompress data\n// NOTE: returned TypedArray lives in WASM memory, you can safely use it until the next call to decompressUnsafe/decompress.\nfunction decompressUnsafe(data: Uint8Array, rawSize: number): Uint8Array;\n\n// Decompress data\nfunction decompress(data: Uint8Array, rawSize: number): Uint8Array;\n```\n\n### Build\n\n1. Install Emscripten SDK\n2. `emcmake cmake -B build [-G \"...\"]`\n3. Build\n   ```bash\n   # Ninja (-G \"Ninja\")\n   cmake --build build\n   # or Makefiles (-G \"Unix Makefiles\")\n   emmake make -C build\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnosme%2Fooz-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnosme%2Fooz-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnosme%2Fooz-wasm/lists"}