{"id":13789621,"url":"https://github.com/elysiajs/eden","last_synced_at":"2026-02-10T06:05:04.712Z","repository":{"id":84990139,"uuid":"577397449","full_name":"elysiajs/eden","owner":"elysiajs","description":"Fully type-safe Elysia client","archived":false,"fork":false,"pushed_at":"2025-05-05T15:20:14.000Z","size":43692,"stargazers_count":218,"open_issues_count":86,"forks_count":46,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-05T15:58:59.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/elysiajs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yaml","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},"funding":{"github":"SaltyAom"}},"created_at":"2022-12-12T16:39:43.000Z","updated_at":"2025-05-05T15:19:33.000Z","dependencies_parsed_at":"2024-04-23T16:05:17.302Z","dependency_job_id":"3b3a1ea6-5646-49f0-8d0d-50d12a602a4e","html_url":"https://github.com/elysiajs/eden","commit_stats":{"total_commits":155,"total_committers":24,"mean_commits":6.458333333333333,"dds":"0.25161290322580643","last_synced_commit":"ead02aa927b806d6caf6f92a663f7ac2512845d9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elysiajs%2Feden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elysiajs%2Feden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elysiajs%2Feden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elysiajs%2Feden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elysiajs","download_url":"https://codeload.github.com/elysiajs/eden/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301426,"owners_count":22047902,"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-08-03T22:00:30.074Z","updated_at":"2025-05-15T08:05:15.219Z","avatar_url":"https://github.com/elysiajs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/SaltyAom"],"categories":["Plugins"],"sub_categories":[],"readme":"# @elysiajs/eden\nFully type-safe Elysia client refers to the [documentation](https://elysiajs.com/eden/overview)\n\n## Installation\n```bash\nbun add elysia @elysiajs/eden\n```\n\n## Example\n```typescript\n// server.ts\nimport { Elysia, t } from 'elysia'\n\nconst app = new Elysia()\n    .get('/', () =\u003e 'Hi Elysia')\n    .get('/id/:id', ({ params: { id } }) =\u003e id)\n    .post('/mirror', ({ body }) =\u003e body, {\n        schema: {\n            body: t.Object({\n                id: t.Number(),\n                name: t.String()\n            })\n        }\n    })\n    .listen(8080)\n\nexport type App = typeof app\n\n// client.ts\nimport { edenTreaty } from '@elysiajs/eden'\nimport type { App } from './server'\n\nconst app = edenTreaty\u003cApp\u003e('http://localhost:8080')\n\n// data: Hi Elysia (fully type-safe)\nconst { data: pong } = app.index.get()\n\n// data: 1895\nconst { data: id } = client.id.1895.get()\n\n// data: { id: 1895, name: 'Skadi' }\nconst { data: nendoroid } = app.mirror.post({\n    id: 1895,\n    name: 'Skadi'\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felysiajs%2Feden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felysiajs%2Feden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felysiajs%2Feden/lists"}