{"id":24125642,"url":"https://github.com/denosaurs/deno_brotli","last_synced_at":"2025-09-20T22:49:33.960Z","repository":{"id":57675298,"uuid":"267509536","full_name":"denosaurs/deno_brotli","owner":"denosaurs","description":"🗜 Brotli wasm module for deno","archived":false,"fork":false,"pushed_at":"2023-01-20T22:40:36.000Z","size":7402,"stargazers_count":62,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-11T19:13:23.708Z","etag":null,"topics":["brotli","compression","deno","hacktoberfest","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://deno.land/x/brotli","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},"funding":{"open_collective":"denosaurs","github":"denosaurs"}},"created_at":"2020-05-28T06:17:25.000Z","updated_at":"2025-08-27T13:21:34.000Z","dependencies_parsed_at":"2023-02-12T06:16:37.454Z","dependency_job_id":null,"html_url":"https://github.com/denosaurs/deno_brotli","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/denosaurs/deno_brotli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_brotli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_brotli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_brotli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_brotli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denosaurs","download_url":"https://codeload.github.com/denosaurs/deno_brotli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Fdeno_brotli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275797207,"owners_count":25530252,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brotli","compression","deno","hacktoberfest","wasm","webassembly"],"created_at":"2025-01-11T15:25:49.628Z","updated_at":"2025-09-20T22:49:33.911Z","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_brotli\n\n[![stars](https://img.shields.io/github/stars/denosaurs/deno_brotli)](https://github.com/denosaurs/deno_brotli/stargazers)\n[![workflow](https://img.shields.io/github/workflow/status/denosaurs/deno_brotli/ci)](https://github.com/denosaurs/deno_brotli/actions)\n[![releases](https://img.shields.io/github/v/release/denosaurs/deno_brotli)](https://github.com/denosaurs/deno_brotli/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_brotli/mod.ts)\n[![Discord](https://img.shields.io/discord/713043818806509608)](https://discord.gg/shHG8vg)\n[![license](https://img.shields.io/github/license/denosaurs/deno_brotli)](https://github.com/denosaurs/deno_brotli/blob/master/LICENSE)\n[![issues](https://img.shields.io/github/issues/denosaurs/deno_brotli)](https://github.com/denosaurs/deno_brotli/issues)\n\nThis module provides [brotli](https://en.wikipedia.org/wiki/Brotli) support for\ndeno and the web by providing [simple bindings](src/lib.rs) using\n[rust-brotli](https://github.com/dropbox/rust-brotli) compiled to webassembly.\n\n## Usage\n\n### Compression\n\n```ts\nimport { compress } from \"https://deno.land/x/brotli/mod.ts\";\n\nconst text = new TextEncoder().encode(\"X\".repeat(64));\n\nconsole.log(text.length); // 64 Bytes\nconsole.log(compress(text).length); // 10 Bytes\n```\n\n### Decompression\n\n```ts\nimport { decompress } from \"https://deno.land/x/brotli/mod.ts\";\n\nconst compressed = Uint8Array.from([27, 63, 0, 0, 36, 176, 226, 153, 64, 18]);\n\nconsole.log(compressed.length); // 10 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-2022, the denosaurs team. All rights reserved. MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Fdeno_brotli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenosaurs%2Fdeno_brotli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Fdeno_brotli/lists"}