{"id":15046021,"url":"https://github.com/denosaurs/deno_lz4","last_synced_at":"2025-10-25T13:31:15.628Z","repository":{"id":57675334,"uuid":"267871482","full_name":"denosaurs/deno_lz4","owner":"denosaurs","description":"🗜 lz4 wasm module for deno","archived":false,"fork":false,"pushed_at":"2024-04-03T09:41:16.000Z","size":95,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-30T01:22:24.462Z","etag":null,"topics":["compression","deno","lz4"],"latest_commit_sha":null,"homepage":"https://deno.land/x/lz4","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denosaurs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"open_collective":"denosaurs","github":"denosaurs"}},"created_at":"2020-05-29T13:59:01.000Z","updated_at":"2024-10-02T23:57:09.000Z","dependencies_parsed_at":"2024-04-16T04:12:53.493Z","dependency_job_id":null,"html_url":"https://github.com/denosaurs/deno_lz4","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.2142857142857143,"last_synced_commit":"581bfea5b6904e4049d77ca8d71fb91cdcff987f"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_lz4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_lz4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_lz4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_lz4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denosaurs","download_url":"https://codeload.github.com/denosaurs/deno_lz4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236477597,"owners_count":19155018,"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":["compression","deno","lz4"],"created_at":"2024-09-24T20:52:36.039Z","updated_at":"2025-10-25T13:31:15.273Z","avatar_url":"https://github.com/denosaurs.png","language":"TypeScript","funding_links":["https://opencollective.com/denosaurs","https://github.com/sponsors/denosaurs"],"categories":[],"sub_categories":[],"readme":"# deno_lz4\n\n[![stars](https://img.shields.io/github/stars/denosaurs/deno_lz4)](https://github.com/denosaurs/deno_lz4/stargazers)\n[![workflow](https://img.shields.io/github/actions/workflow/status/denosaurs/deno_lz4/checks.yml?branch=master)](https://github.com/denosaurs/deno_lz4/actions)\n[![releases](https://img.shields.io/github/v/release/denosaurs/deno_lz4)](https://github.com/denosaurs/deno_lz4/releases/latest/)\n[![deno version](https://img.shields.io/badge/deno-^1.0.2-informational)](https://github.com/denoland/deno)\n[![deno doc](https://img.shields.io/badge/deno-doc-informational)](https://doc.deno.land/https/deno.land/x/deno_lz4/mod.ts)\n[![Discord](https://img.shields.io/discord/713043818806509608)](https://discord.gg/shHG8vg)\n[![license](https://img.shields.io/github/license/denosaurs/deno_lz4)](https://github.com/denosaurs/deno_lz4/blob/master/LICENSE)\n[![issues](https://img.shields.io/github/issues/denosaurs/deno_lz4)](https://github.com/denosaurs/deno_lz4/issues)\n\nThis module provides\n[lz4](https://en.wikipedia.org/wiki/LZ4_(compression_algorithm)) support for\ndeno and the web by providing [simple bindings](src/lib.rs) using\n[lz4-compression](https://github.com/johannesvollmer/lz4-compression-rs)\ncompiled to webassembly.\n\n## Usage\n\n### Compression\n\n```ts\nimport { compress } from \"https://deno.land/x/lz4/mod.ts\";\nconst text = new TextEncoder().encode(\"X\".repeat(64));\nconsole.log(text.length); // 64 Bytes\nconsole.log(compress(text).length); // 6  Bytes\n```\n\n### Decompression\n\n```ts\nimport { decompress } from \"https://deno.land/x/lz4/mod.ts\";\nconst compressed = Uint8Array.from([31, 88, 1, 0, 44, 0]);\nconsole.log(compressed.length); // 6 Bytes\nconsole.log(decompress(compressed).length); // 64 Bytes\n```\n\n## Other\n\n### Contribution\n\nPull request, issues and feedback are very welcome. Code style is formatted with\n`deno fmt` and commit messages are done following\n[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec.\n\n### Licence\n\nCopyright 2020-present, the denosaurs team. All rights reserved. MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Fdeno_lz4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenosaurs%2Fdeno_lz4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Fdeno_lz4/lists"}