{"id":38347246,"url":"https://github.com/azurajs/azura","last_synced_at":"2026-02-04T20:00:58.197Z","repository":{"id":331548309,"uuid":"1129346819","full_name":"azurajs/azura","owner":"azurajs","description":"✨ Azura is a TypeScript framework designed to build APIs faster, with simplicity and performance in mind.","archived":false,"fork":false,"pushed_at":"2026-01-23T01:58:55.000Z","size":2023,"stargazers_count":30,"open_issues_count":1,"forks_count":8,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-23T16:04:43.896Z","etag":null,"topics":["api","api-rest","azurajs","framework","web-framework"],"latest_commit_sha":null,"homepage":"https://azura.js.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azurajs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["0xviny"]}},"created_at":"2026-01-07T00:56:24.000Z","updated_at":"2026-01-23T01:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/azurajs/azura","commit_stats":null,"previous_names":["0xviny/azurajs","azurajs/azura"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/azurajs/azura","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurajs%2Fazura","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurajs%2Fazura/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurajs%2Fazura/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurajs%2Fazura/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azurajs","download_url":"https://codeload.github.com/azurajs/azura/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurajs%2Fazura/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29094657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: 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":["api","api-rest","azurajs","framework","web-framework"],"created_at":"2026-01-17T03:04:32.552Z","updated_at":"2026-02-04T20:00:58.191Z","avatar_url":"https://github.com/azurajs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/0xviny"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://azura.js.org\"\u003e\n    \u003cimg src=\"website/public/azurajs.png\" width=\"500\" height=\"auto\" alt=\"AzuraJS\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003chr /\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/azurajs)](https://www.npmjs.com/package/azurajs)\n[![NPM Downloads](https://img.shields.io/npm/dm/azurajs)](https://www.npmjs.com/package/azurajs)\n[![License](https://img.shields.io/npm/l/azurajs)](https://github.com/azurajs/azura/blob/main/LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue)](https://www.typescriptlang.org/)\n[![Bundle Size](https://img.shields.io/bundlephobia/minzip/azurajs)](https://bundlephobia.com/result?p=azurajs)\n[![Discord](https://img.shields.io/discord/1459038905667162223?label=Discord\u0026logo=Discord)](https://discord.gg/gr63YzEYfp)\n\nAzuraJS - _**means sky blue 🌌 in many languages**_ - is a minimal, decorator-based web framework built for TypeScript. It works on any JavaScript runtime: Node.js, Bun, Deno, Cloudflare Workers, Vercel Edge, and AWS Lambda.\n\nElegant, type-safe, and blazing fast.\n\n```typescript\nimport { AzuraClient } from \"azurajs\";\nimport { applyDecorators, Controller, Get } from \"azurajs/decorators\";\n\n@Controller()\nclass AppController {\n  @Get(\"/\")\n  home() {\n    return { message: \"Hello AzuraJS! 🚀\" };\n  }\n}\n\nconst app = new AzuraClient();\napp.applyDecorators([AppController]);\n\nexport default app;\n```\n\n## Quick Start\n\n```bash\nnpm install azurajs\n```\n\n## Features\n\n- **Zero Dependencies** 📦 - No external dependencies. Lightweight and efficient.\n- **Decorator-Based** 🎯 - Clean, intuitive routing with TypeScript decorators.\n- **Type-Safe** 🛡️ - Full TypeScript support with complete type inference.\n- **JavaScript Support** 📝 - Works seamlessly with plain JavaScript too.\n- **Multi-Runtime** 🌍 - Works on Node.js, Bun, Deno, Cloudflare Workers, Vercel Edge, and more.\n- **High Performance** ⚡ - Built for speed with minimal overhead and optimized routing.\n- **Modular Imports** 🔧 - Tree-shakeable imports for optimal bundle size (70% smaller).\n- **Built-in Features** 🔋 - CORS, Rate Limiting, Cookie handling, Cluster mode, and more.\n- **Developer Experience** 😊 - Intuitive APIs with excellent IntelliSense support.\n\n## Documentation\n\nThe documentation is available on [azura.js.org](https://azura.js.org).\n\n## Example\n\n### TypeScript with Decorators\n\n```typescript\nimport { AzuraClient } from \"azurajs\";\nimport { applyDecorators, Controller, Get, Post, Body, Param, Res } from \"azurajs/decorators\";\nimport { HttpError } from \"azurajs/http-error\";\nimport type { ResponseServer } from \"azurajs\";\n\n@Controller(\"/api/users\")\nclass UserController {\n  @Get()\n  getAll(@Res() res: ResponseServer) {\n    res.json({ users: [] });\n  }\n\n  @Get(\"/:id\")\n  getOne(@Param(\"id\") id: string, @Res() res: ResponseServer) {\n    if (id === \"0\") throw new HttpError(404, \"User not found\");\n    res.json({ id, name: `User ${id}` });\n  }\n\n  @Post()\n  create(@Body() body: any, @Res() res: ResponseServer) {\n    res.status(201).json({ id: Date.now(), ...body });\n  }\n}\n\nconst app = new AzuraClient();\napplyDecorators(app, [UserController]);\n\nawait app.listen(3000);\n```\n\n### JavaScript (Functional Style)\n\n```javascript\nimport { AzuraClient } from \"azurajs\";\nimport { createLoggingMiddleware } from \"azurajs/middleware\";\n\nconst app = new AzuraClient();\nconst logger = createLoggingMiddleware(app.getConfig());\napp.use(logger);\n\n// Define routes\napp.get(\"/api/users\", (req, res) =\u003e {\n  res.json({ users: [] });\n});\n\napp.get(\"/api/users/:id\", (req, res) =\u003e {\n  const { id } = req.params;\n  res.json({ id: Number(id), name: `User ${id}` });\n});\n\napp.post(\"/api/users\", (req, res) =\u003e {\n  const body = req.body;\n  res.status(201).json({ id: Date.now(), ...body });\n});\n\nawait app.listen(3000);\n```\n\n## Universal Runtime Support\n\nAzuraJS works seamlessly across all JavaScript runtimes using the Web Standard Fetch API:\n\n```typescript\n// Bun\nBun.serve({ fetch: app.fetch.bind(app), port: 3000 });\n\n// Deno\nDeno.serve({ port: 3000 }, app.fetch.bind(app));\n\n// Cloudflare Workers\nexport default { fetch: app.fetch.bind(app) };\n```\n\n## Why AzuraJS?\n\n- **Decorator-First Design** - Express-style routing with modern TypeScript decorators\n- **Zero Boilerplate** - Write less code, ship faster\n- **Universal** - One codebase, runs everywhere\n- **Production Ready** - Built-in cluster mode, CORS, rate limiting, and more\n- **Tree-Shakeable** - Modular imports reduce bundle size by up to 70%\n\n## Community\n\n- 📚 [Documentation](https://azura.js.org/docs/en)\n- 💬 [Discord](https://discord.gg/gr63YzEYfp)\n- 🐦 [Twitter](https://twitter.com/azurajs)\n- 📦 [NPM](https://www.npmjs.com/package/azurajs)\n\n## Contributing\n\nContributions are welcome! You can contribute in the following ways:\n\n- Create an Issue - Propose a new feature or report a bug\n- Pull Request - Fix a bug, add a feature, or improve documentation\n- Share - Share your thoughts and projects built with AzuraJS\n- Spread the word - Star the repo and share with others\n\nFor more details, see [CONTRIBUTING.md](docs/CONTRIBUTING.md).\n\n## Contributors\n\nThanks to [all contributors](https://github.com/azurajs/azura/graphs/contributors) who help make AzuraJS better!\n\n## Author\n\nCreated by **0xviny** \u003chttps://github.com/0xviny\u003e\n\n## License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with ❤️ by the 0xviny \u0026 AzuraJS team\u003c/sub\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazurajs%2Fazura","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazurajs%2Fazura","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazurajs%2Fazura/lists"}