{"id":15685097,"url":"https://github.com/erfanium/denzo","last_synced_at":"2026-01-20T00:14:19.158Z","repository":{"id":47139738,"uuid":"394598819","full_name":"erfanium/denzo","owner":"erfanium","description":"Well designed web framework for Deno. similar to Fastify","archived":false,"fork":false,"pushed_at":"2021-09-12T09:54:59.000Z","size":88,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T09:17:50.400Z","etag":null,"topics":["api","deno","http","javascript","rest","typescript"],"latest_commit_sha":null,"homepage":"","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/erfanium.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}},"created_at":"2021-08-10T09:38:18.000Z","updated_at":"2023-01-23T14:23:50.000Z","dependencies_parsed_at":"2022-09-14T19:11:54.502Z","dependency_job_id":null,"html_url":"https://github.com/erfanium/denzo","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdenzo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdenzo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdenzo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdenzo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfanium","download_url":"https://codeload.github.com/erfanium/denzo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595375,"owners_count":20963942,"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":["api","deno","http","javascript","rest","typescript"],"created_at":"2024-10-03T17:23:36.776Z","updated_at":"2026-01-20T00:14:19.119Z","avatar_url":"https://github.com/erfanium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Denzo\n\nWell designed web framework for Deno. similar to\n[Fastify](https://github.com/fastify/fastify). Uses Deno native http server.\n(which is unstable right now)\n\n## Hello world\n\napp.ts\n\n```ts\nimport {\n  Denzo,\n  listenAndServe,\n  printRoutes,\n} from \"https://deno.land/x/denzo/mod.ts\";\n\nconst app = new Denzo();\n\ninterface RouteTypes {\n  Response: {\n    hello: string;\n  };\n}\n\napp.route\u003cRouteTypes\u003e({\n  method: \"GET\",\n  url: \"/hi\",\n  handler() {\n    return { hello: \"world!\" };\n  },\n});\n\nlistenAndServe(3000, app);\nprintRoutes(app);\n\nconsole.log(\"listening on port 3000\");\n```\n\n```sh\ndeno run --allow-net --unstable app.ts\n```\n\nSee [examples](https://github.com/erfanium/denzo/tree/main/examples)\n\n## Goals\n\n**Well and Reliable design**: Denzo follows Fastify design which benefit large\nprojects.\\\n**Fast**: Denzo uses brand new Deno native http server which is faster and\nbetter for http/2 protocol.\\\n**First-Class validation**: Like Fastify, Denzo support JSON schemes (also\nfluent-json-schema).\\\n**Safe**: Plugins are limited to their scope, unless you grant access.\n\n## Differences with Fastify\n\nDenzo is inspired by Fastify, but it doesn't mean it's a Fastify port for Deno.\nThere's some differences that we prefer:\n\n### No callback support\n\nCallbacks are fast, but supporting callbacks and promises together is\ntroublesome. so you should always use `async` function or return a `Promise` for\nyour async code.\n\n### `Keys` instead of `decorators`\n\nFastify decorators design is not Typescript friendly, You can use our `Keys`\ndesign to safely pass data between hooks. see examples/keys.ts.\n\n## Plugins\n\n### Official\n\n- [denzo-cors](https://github.com/irandeno/denzo-cors)\n- [denzo-logger](https://github.com/irandeno/denzo-logger)\n\n## Discord chat\n\nWe would love to hear your feedback and questions! https://discord.gg/YP5TgWbd2C\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fdenzo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfanium%2Fdenzo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fdenzo/lists"}