{"id":13484911,"url":"https://github.com/bit-js/byte","last_synced_at":"2025-03-27T16:31:32.784Z","repository":{"id":221170945,"uuid":"753189210","full_name":"bit-js/byte","owner":"bit-js","description":"Fast, minimal web framework to create type safe APIs","archived":false,"fork":false,"pushed_at":"2024-08-03T06:31:55.000Z","size":154,"stargazers_count":71,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T18:42:57.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bytejs.pages.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bit-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-05T16:34:31.000Z","updated_at":"2024-08-27T21:52:55.000Z","dependencies_parsed_at":"2024-06-01T14:54:54.676Z","dependency_job_id":"4fae934d-bef7-4bce-abe9-53968ebb9b34","html_url":"https://github.com/bit-js/byte","commit_stats":null,"previous_names":["bit-js/byte"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-js%2Fbyte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-js%2Fbyte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-js%2Fbyte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-js%2Fbyte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bit-js","download_url":"https://codeload.github.com/bit-js/byte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882441,"owners_count":20687890,"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-07-31T17:01:38.523Z","updated_at":"2025-03-27T16:31:32.426Z","avatar_url":"https://github.com/bit-js.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Byte\n\nA simple, performance-focused web framework that works on Bun, Deno, and browsers.\n\n```ts\nimport { Byte } from \"@bit-js/byte\";\n\nexport default new Byte().get(\"/\", (ctx) =\u003e ctx.body(\"Hi\"));\n```\n\n## Features\n\n- **Fast**: Internally use [`Blitz`](//www.npmjs.com/package/@bit-js/blitz), the fastest router in the JS ecosystem.\n- **Multi-runtime**: Works on all non-edge JS runtimes without any adapters.\n\n## Benchmarks\n\nByte starts up faster than the `hono/quick` preset with LinearRouter.\n\n```\n[535.66ms] Byte: Build 1000 routes\n[687.44ms] Hono: Build 1000 routes\n```\n\nByte matches routes 6x faster than Hono with RegExpRouter.\n\n```\n\"/user\":\n- Hono: 23416ns\n- Byte: 4463ns\n\n\"/user/comments\":\n- Hono: 26255ns\n- Byte: 4454ns\n\n\"/user/avatar\":\n- Hono: 31863ns\n- Byte: 4991ns\n\n\"/event/:id\":\n- Hono: 33113ns\n- Byte: 7072ns\n\n\"/event/:id/comments\":\n- Hono: 34888ns\n- Byte: 8257ns\n\n\"/status\":\n- Hono: 26211ns\n- Byte: 4195ns\n\n\"/deeply/nested/route/for/testing\":\n- Hono: 22171ns\n- Byte: 3981ns\n```\n\nSee [benchmarks](//github.com/bit-js/byte/tree/main/bench) for more details.\n\n## Docs\n\nSee the docs at [bytejs.pages.dev](https://bytejs.pages.dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit-js%2Fbyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbit-js%2Fbyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit-js%2Fbyte/lists"}