{"id":23236697,"url":"https://github.com/CodeDynasty-dev/Jetpath","last_synced_at":"2025-08-19T23:30:49.366Z","repository":{"id":207021242,"uuid":"718124825","full_name":"CodeDynasty-dev/Jetpath","owner":"CodeDynasty-dev","description":"A performance-first cross-runtime API framework without the boilerplate","archived":false,"fork":false,"pushed_at":"2025-07-29T19:43:30.000Z","size":5775,"stargazers_count":17,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T19:45:00.565Z","etag":null,"topics":["backend","bunjs","database","denojs","expressjs","javascript","nextjs","nodejs","server","server-side","ssr","streaming","web","websockets"],"latest_commit_sha":null,"homepage":"https://jetpath.codedynasty.dev","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/CodeDynasty-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-13T12:40:13.000Z","updated_at":"2025-07-29T19:42:09.000Z","dependencies_parsed_at":"2023-11-28T11:28:06.457Z","dependency_job_id":"2a4adba2-d41e-4598-98eb-b0389c37cabd","html_url":"https://github.com/CodeDynasty-dev/Jetpath","commit_stats":{"total_commits":291,"total_committers":1,"mean_commits":291.0,"dds":0.0,"last_synced_commit":"4ea6a91b88cfc820c203cb72952f968b7b9b86eb"},"previous_names":["fridaycandour/jetpath","uiedbook/jetpath","codedynasty-foo/jetpath","codedynasty-dev/jetpath"],"tags_count":191,"template":false,"template_full_name":null,"purl":"pkg:github/CodeDynasty-dev/Jetpath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FJetpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FJetpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FJetpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FJetpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDynasty-dev","download_url":"https://codeload.github.com/CodeDynasty-dev/Jetpath/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FJetpath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271239871,"owners_count":24724744,"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-08-19T02:00:09.176Z","response_time":63,"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":["backend","bunjs","database","denojs","expressjs","javascript","nextjs","nodejs","server","server-side","ssr","streaming","web","websockets"],"created_at":"2024-12-19T04:12:07.315Z","updated_at":"2025-08-19T23:30:49.360Z","avatar_url":"https://github.com/CodeDynasty-dev.png","language":"TypeScript","funding_links":["https://github.com/sponsors/CodeDynasty-dev"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/CodeDynasty-dev/Jetpath/raw/main/icon.png\" alt=\"Jetpath\" width=\"190\" height=\"190\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eJetpath\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A performance-first cross-runtime API framework without the boilerplate\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://jetpath.codedynasty.dev\"\u003e\u003cstrong\u003eDocumentation »\u003c/strong\u003e\u003c/a\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://discord.gg/faqydQASTy\"\u003eJoin Discord\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/codedynasty-dev/jetpath/issues\"\u003eReport Bug\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/codedynasty-dev/jetpath/issues\"\u003eRequest Feature\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://npm-stat.com/charts.html?package=jetpath\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/jetpath\" alt=\"Downloads per Month\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npm-stat.com/charts.html?package=jetpath\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dy/jetpath\" alt=\"Downloads per Year\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://badge.fury.io/js/jetpath\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/jetpath.svg\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/codedynasty-dev/jetpath\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/codedynasty-dev/jetpath?style=social\" alt=\"Stars\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Why Engineers Choose Jetpath\n\nEvery framework promises to be fast and easy. Jetpath got built because most of them aren't.\n\n```ts\n// This is a complete API endpoint in Jetpath\nexport const GET_users_$id: JetRoute = async function (ctx) {\n  const { id } = ctx.params;\n  const user = await db.users.findUnique({ where: { id } });\n  return ctx.send(user);\n};\n```\n\nJetpath eliminates the cognitive overhead that slows down development. No more router configuration, middleware chains, or callback hell. Just pure functions that map directly to HTTP endpoints through a clean, predictable naming convention.\n\n**The tech stack you already trust, but faster:**\n- Write APIs in TypeScript/JavaScript across Node.js, Deno, or Bun\n- ~50% less code than Express with stronger type safety\n- [Benchmarks](https://github.com/CodeDynasty-dev/jetpath-benchmark) show massive throughput compared to Elysia.js.\n\n## Core Design Principles\n\nJetpath is built with strong opinions on what matters most:\n\n1. **Zero config by default** - Convention eliminates boilerplate\n2. **Runtime agnostic** - True support for Node.js, Deno, and Bun (not just compatibility layers)\n3. **Type safety** - Full TypeScript support that doesn't get in your way\n4. **Predictable routing** - Routes derived from function names (GET_users_$id → GET /users/:id)\n5. **Built for production** - Security, validation, and error handling baked in\n\n## In Production\n\nI am using Jetpath in production and here are the results.\n- 40% reduction in API codebase size\n- Simplified onboarding for new team members\n- Faster iterations on API endpoints\n\n## Quick Start\n\n```bash\n# Create new project\nnpx jetpath new-project\n\n# Navigate and start the dev server\ncd new-project \u0026\u0026 npm install \u0026\u0026 npm run dev\n```\n\n## API Design That Gets Out of Your Way\n\n```ts\nimport { type JetRoute, Jetpath, use } from \"jetpath\";\n\nconst app = new Jetpath();\napp.listen(3000);\n\n// GET /products\nexport const GET_products: JetRoute = async (ctx) =\u003e {\n  const products = await db.products.findMany();\n  ctx.send({ products });\n};\n\n// POST /products with validation\nexport const POST_products: JetRoute = async (ctx) =\u003e {\n  const data = await ctx.parse();\n  const product = await db.products.create({ data });\n  ctx.send({ product }, 201);\n};\n\n// Add validation and docs in one step\nuse(POST_products)\n  .title(\"Create a new product\")\n  .body((t) =\u003e ({\n    name: t.string().required().min(3),\n    price: t.number().required().min(0),\n    description: t.string()\n  }));\n\n// Maps to ws://your-host/live\nexport const GET_live: JetRoute = (ctx) =\u003e {\n  ctx.upgrade();\n  const conn = ctx.connection!;\n  conn.addEventListener(\"open\", (socket) =\u003e { /* ... */ });\n  conn.addEventListener(\"message\", (socket, event) =\u003e { /* ... */ });\n};\n```\n\n## Key Features\n\n- **Unified dev experience** across Node.js, Deno, and Bun\n- **Auto-generated API documentation** with interactive UI\n- **First-class WebSocket support**\n- **Plugin system** for extending functionality\n- **Schema validation** that is part of api documentation\n- **Request parsing** that just works (JSON, forms, multipart)\n- **Performance-optimized** routing and middleware execution\n- **Security** good defaults\n\n## Real Performance\n\nIt's not just a claim how fast - measure it. In the [benchmark suite](hhttps://github.com/CodeDynasty-dev/jetpath-benchmark), Jetpath consistently perform close to raw Bunjs performance matches elysia.js on common API workloads:\n\n| Framework | Requests/sec | Latency (avg)\n|-----------|-------------|---------------|\n| Bun   | ~40,890       | 12.2ms        |\n| Elysia   | ~33,383       | 13.2ms         |\n| Jetpath   | ~32,339      | 13.7ms         |\n\n*4-core CPU, 1000 concurrent connections and 1,000,000 requests, simple JSON response*\n\nBunjs being amongst the fastest http runtime.\n\n## Installation\n\nFor existing projects:\n\n```bash\nnpm install jetpath --save\n```\n\n## Community \u0026 Support\n\n- [Documentation](https://jetpath.codedynasty.dev) - In-depth guides and API reference\n- [Discord Community](https://discord.gg/faqydQASTy) - Get help from the team and other users\n- [GitHub Issues](https://github.com/codedynasty-dev/jetpath/issues) - Report bugs or request features\n\n## License\n\nApache 2.0 - Open source and built for the community.\n\n### Contributing\n\nWe welcome contributions! See our [contributing guide](https://github.com/CodeDynasty-dev/Jetpath/blob/main/contributing.md) for details on how to get involved.\n\nBy contributing, you agree to license your code under the Apache 2.0 license and confirm that all contributions are your original work.\n\n### Support or Sponsor the Project\n\nIf Jetpath helps you or your team ship faster and more understandable codebase, consider supporting its development through [GitHub Sponsors](https://github.com/sponsors/CodeDynasty-dev).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeDynasty-dev%2FJetpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCodeDynasty-dev%2FJetpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeDynasty-dev%2FJetpath/lists"}