{"id":48775329,"url":"https://github.com/liveblocks/zenrouter","last_synced_at":"2026-04-13T12:04:40.003Z","repository":{"id":340628511,"uuid":"1166643284","full_name":"liveblocks/zenrouter","owner":"liveblocks","description":"An opinionated HTTP router with typed path params, built-in body validation, and a clean auth model.","archived":false,"fork":false,"pushed_at":"2026-03-10T08:34:37.000Z","size":1893,"stargazers_count":34,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-10T15:57:25.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zenrouter.liveblocks.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liveblocks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-25T12:55:01.000Z","updated_at":"2026-03-07T19:16:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/liveblocks/zenrouter","commit_stats":null,"previous_names":["liveblocks/zenrouter"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/liveblocks/zenrouter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fzenrouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fzenrouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fzenrouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fzenrouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liveblocks","download_url":"https://codeload.github.com/liveblocks/zenrouter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fzenrouter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-13T12:04:39.616Z","updated_at":"2026-04-13T12:04:39.891Z","avatar_url":"https://github.com/liveblocks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zen Router\n\n\u003cp\u003e\n  \u003ca href=\"https://npmjs.org/package/@liveblocks/zenrouter\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@liveblocks/zenrouter?style=flat\u0026label=npm\u0026color=c33\" alt=\"NPM\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://bundlejs.com/?q=%40liveblocks%2Fzenrouter%401.0.17\u0026treeshake=%5B%7B+ZenRouter+%7D%5D\"\u003e\u003cimg src=\"https://deno.bundlejs.com/badge?q=@liveblocks/zenrouter\u0026treeshake=[{ZenRouter}]\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/liveblocks/zenrouter/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-apache2-green\" alt=\"License: Apache 2.0\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nAn opinionated API router with typed path params, built-in body validation, and\na clean auth model. Built for Cloudflare Workers, Bun, Node.js, and every other\nmodern JavaScript runtime.\n\n**[Documentation](https://zenrouter.liveblocks.io/docs)**\n\n## Installation\n\n```\nnpm i @liveblocks/zenrouter\n```\n\n## Quick start\n\n```ts\nimport { object, string } from \"decoders\";\nimport { ZenRouter } from \"@liveblocks/zenrouter\";\n\nconst zen = new ZenRouter(/* ... */);\n\nzen.route(\n  \"GET /greet/\u003cname\u003e\",\n\n  ({ p }) =\u003e ({ result: `Hi, ${p.name}!` })\n);\n\nzen.route(\n  \"POST /greet\",\n\n  object({ name: string }),\n\n  ({ body }) =\u003e ({\n    result: `Hi, ${body.name}!`,\n  })\n);\n\nexport default zen;\n```\n\n## License\n\nLicensed under the Apache License 2.0, Copyright © 2021-present\n[Liveblocks](https://liveblocks.io).\n\nSee [LICENSE](../../licenses/LICENSE-APACHE-2.0) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Fzenrouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliveblocks%2Fzenrouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Fzenrouter/lists"}