{"id":13398816,"url":"https://github.com/koajs/koa","last_synced_at":"2025-05-12T14:54:24.337Z","repository":{"id":37431860,"uuid":"11551538","full_name":"koajs/koa","owner":"koajs","description":"Expressive middleware for node.js using ES2017 async functions","archived":false,"fork":false,"pushed_at":"2025-04-30T22:54:48.000Z","size":3800,"stargazers_count":35469,"open_issues_count":15,"forks_count":3226,"subscribers_count":821,"default_branch":"master","last_synced_at":"2025-05-05T09:42:52.106Z","etag":null,"topics":["koa"],"latest_commit_sha":null,"homepage":"https://koajs.com","language":"JavaScript","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/koajs.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"koajs"}},"created_at":"2013-07-20T18:53:45.000Z","updated_at":"2025-05-05T09:23:44.000Z","dependencies_parsed_at":"2022-07-14T10:31:16.618Z","dependency_job_id":"c08fb93e-72e6-4811-b5e0-bce974ff8f7c","html_url":"https://github.com/koajs/koa","commit_stats":{"total_commits":1054,"total_committers":250,"mean_commits":4.216,"dds":0.7637571157495257,"last_synced_commit":"ce6b3b6eeed08608c85ec133de6cbcbc8e03a046"},"previous_names":[],"tags_count":114,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koajs%2Fkoa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koajs%2Fkoa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koajs%2Fkoa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koajs%2Fkoa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koajs","download_url":"https://codeload.github.com/koajs/koa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252486813,"owners_count":21755832,"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":["koa"],"created_at":"2024-07-30T19:00:31.853Z","updated_at":"2025-05-05T11:02:41.820Z","avatar_url":"https://github.com/koajs.png","language":"JavaScript","readme":"\u003cimg src=\"/docs/logo.png\" alt=\"Koa middleware framework for nodejs\"/\u003e\n\n  [![gitter][gitter-image]][gitter-url]\n  [![NPM version][npm-image]][npm-url]\n  [![build status][github-action-image]][github-action-url]\n  [![Test coverage][coveralls-image]][coveralls-url]\n  [![OpenCollective Backers][backers-image]](#backers)\n  [![OpenCollective Sponsors][sponsors-image]](#sponsors)\n  [![PR's Welcome][pr-welcoming-image]][pr-welcoming-url]\n\n  Expressive HTTP middleware framework for node.js to make web applications and APIs more enjoyable to write. Koa's middleware stack flows in a stack-like manner, allowing you to perform actions downstream then filter and manipulate the response upstream.\n\n  Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~570 SLOC codebase. This\n  includes things like content negotiation, normalization of node inconsistencies, redirection, and a few others.\n\n  Koa is not bundled with any middleware.\n\n## Installation\n\nKoa requires __node v18.0.0__ or higher for ES2015 and async function support.\n\n```sh\nnpm install koa\n```\n\n## Hello Koa\n\n```js\nconst Koa = require('koa');\nconst app = new Koa();\n\n// response\napp.use(ctx =\u003e {\n  ctx.body = 'Hello Koa';\n});\n\napp.listen(3000);\n```\n\n## Getting started\n\n - [Kick-Off-Koa](https://github.com/koajs/kick-off-koa) - An intro to Koa via a set of self-guided workshops.\n - [Guide](docs/guide.md) - Go straight to the docs.\n\n## Middleware\n\nKoa is a middleware framework that can take two different kinds of functions as middleware:\n\n  * async function\n  * common function\n\nHere is an example of logger middleware with each of the different functions:\n\n### ___async___ functions (node v7.6+)\n\n```js\napp.use(async (ctx, next) =\u003e {\n  const start = Date.now();\n  await next();\n  const ms = Date.now() - start;\n  console.log(`${ctx.method} ${ctx.url} - ${ms}ms`);\n});\n```\n\n### Common function\n\n```js\n// Middleware normally takes two parameters (ctx, next), ctx is the context for one request,\n// next is a function that is invoked to execute the downstream middleware. It returns a Promise with a then function for running code after completion.\n\napp.use((ctx, next) =\u003e {\n  const start = Date.now();\n  return next().then(() =\u003e {\n    const ms = Date.now() - start;\n    console.log(`${ctx.method} ${ctx.url} - ${ms}ms`);\n  });\n});\n```\n\n### Koa v1.x Middleware Signature\n\nThe middleware signature changed between v1.x and v2.x.  The older signature is deprecated.\n\n**Old signature middleware support has been removed in v3**\n\nPlease see the [Migration Guide from v2.x to v3.x](docs/migration-v2-to-v3.md) for information on upgrading from v2.x to v3.x, and the [Migration Guide from v1.x to v2.x](docs/migration-v1-to-v2.md) for information on upgrading from v1.x to v2.x.\n\n## Context, Request and Response\n\nEach middleware receives a Koa `Context` object that encapsulates an incoming\nhttp message and the corresponding response to that message.  `ctx` is often used\nas the parameter name for the context object.\n\n```js\napp.use(async (ctx, next) =\u003e { await next(); });\n```\n\nKoa provides a `Request` object as the `request` property of the `Context`.\nKoa's `Request` object provides helpful methods for working with\nhttp requests which delegate to an [IncomingMessage](https://nodejs.org/api/http.html#http_class_http_incomingmessage)\nfrom the node `http` module.\n\nHere is an example of checking that a requesting client supports xml.\n\n```js\napp.use(async (ctx, next) =\u003e {\n  ctx.assert(ctx.request.accepts('xml'), 406);\n  // equivalent to:\n  // if (!ctx.request.accepts('xml')) ctx.throw(406);\n  await next();\n});\n```\n\nKoa provides a `Response` object as the `response` property of the `Context`.\nKoa's `Response` object provides helpful methods for working with\nhttp responses which delegate to a [ServerResponse](https://nodejs.org/api/http.html#http_class_http_serverresponse)\n.\n\nKoa's pattern of delegating to Node's request and response objects rather than extending them\nprovides a cleaner interface and reduces conflicts between different middleware and with Node\nitself as well as providing better support for stream handling.  The `IncomingMessage` can still be\ndirectly accessed as the `req` property on the `Context` and `ServerResponse` can be directly\naccessed as the `res` property on the `Context`.\n\nHere is an example using Koa's `Response` object to stream a file as the response body.\n\n```js\napp.use(async (ctx, next) =\u003e {\n  await next();\n  ctx.response.type = 'xml';\n  ctx.response.body = fs.createReadStream('really_large.xml');\n});\n```\n\nThe `Context` object also provides shortcuts for methods on its `request` and `response`.  In the prior\nexamples,  `ctx.type` can be used instead of `ctx.response.type` and `ctx.accepts` can be used\ninstead of `ctx.request.accepts`.\n\nFor more information on `Request`, `Response` and `Context`, see the [Request API Reference](docs/api/request.md),\n[Response API Reference](docs/api/response.md) and [Context API Reference](docs/api/context.md).\n\n## Koa Application\n\nThe object created when executing `new Koa()` is known as the Koa application object.\n\nThe application object is Koa's interface with node's http server and handles the registration\nof middleware, dispatching to the middleware from http, default error handling, as well as\nconfiguration of the context, request and response objects.\n\nLearn more about the application object in the [Application API Reference](docs/api/index.md).\n\n## Documentation\n\n - [Usage Guide](docs/guide.md)\n - [Error Handling](docs/error-handling.md)\n - [Koa for Express Users](docs/koa-vs-express.md)\n - [FAQ](docs/faq.md)\n - [API documentation](docs/api/index.md)\n\n## Troubleshooting\n\nCheck the [Troubleshooting Guide](docs/troubleshooting.md) or [Debugging Koa](docs/guide.md#debugging-koa) in\nthe general Koa guide.\n\n## Running tests\n\n```\n$ npm test\n```\n\n## Reporting vulnerabilities\n\nTo report a security vulnerability, please do not open an issue, as this notifies attackers of the vulnerability. Instead, please email [dead_horse](mailto:heyiyu.deadhorse@gmail.com), [jonathanong](mailto:me@jongleberry.com), and [niftylettuce](mailto:niftylettuce@gmail.com) to disclose.\n\n## Authors\n\nSee [AUTHORS](AUTHORS).\n\n## Community\n\n - [KoaJS Slack Group](https://join.slack.com/t/koa-js/shared_invite/zt-5pjgthmb-1JeKDbByqqcARtlPbtf~vQ)\n - [Badgeboard](https://koajs.github.io/badgeboard) and list of official modules\n - [Examples](https://github.com/koajs/examples)\n - [Middleware](https://github.com/koajs/koa/wiki) list\n - [Wiki](https://github.com/koajs/koa/wiki)\n - [Reddit Community](https://www.reddit.com/r/koajs)\n - [Mailing list](https://groups.google.com/forum/#!forum/koajs)\n - [中文文档 v1.x](https://github.com/guo-yu/koa-guide)\n - [中文文档 v2.x](https://github.com/demopark/koa-docs-Zh-CN)\n - __[#koajs]__ on freenode\n\n## Job Board\n\nLooking for a career upgrade?\n\n\u003ca href=\"https://astro.netlify.com/automattic\"\u003e\u003cimg src=\"https://astro.netlify.com/static/automattic.png\"\u003e\u003c/a\u003e\n\u003ca href=\"https://astro.netlify.com/segment\"\u003e\u003cimg src=\"https://astro.netlify.com/static/segment.png\"\u003e\u003c/a\u003e\n\u003ca href=\"https://astro.netlify.com/auth0\"\u003e\u003cimg src=\"https://astro.netlify.com/static/auth0.png\"/\u003e\u003c/a\u003e\n\n## Backers\n\nSupport us with a monthly donation and help us continue our activities.\n\n\u003ca href=\"https://opencollective.com/koajs/backer/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/9/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/10/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/10/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/11/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/11/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/12/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/12/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/13/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/13/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/14/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/14/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/15/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/15/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/16/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/16/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/17/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/17/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/18/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/18/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/19/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/19/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/20/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/20/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/21/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/21/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/22/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/22/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/23/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/23/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/24/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/24/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/25/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/25/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/26/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/26/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/27/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/27/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/28/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/28/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/backer/29/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/backer/29/avatar.svg\"\u003e\u003c/a\u003e\n\n\n## Sponsors\n\nBecome a sponsor and get your logo on our README on Github with a link to your site.\n\n\u003ca href=\"https://opencollective.com/koajs/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/10/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/10/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/11/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/11/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/12/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/12/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/13/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/13/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/14/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/14/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/15/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/15/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/16/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/16/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/17/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/17/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/18/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/18/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/19/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/19/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/20/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/20/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/21/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/21/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/22/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/22/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/23/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/23/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/24/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/24/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/25/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/25/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/26/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/26/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/27/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/27/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/28/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/28/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/koajs/sponsor/29/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/koajs/sponsor/29/avatar.svg\"\u003e\u003c/a\u003e\n\n# License\n\n  [MIT](https://github.com/koajs/koa/blob/master/LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/koa.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/koa\n[github-action-image]: https://github.com/koajs/koa/actions/workflows/node.js.yml/badge.svg\n[github-action-url]: https://github.com/koajs/koa/actions/workflows/node.js.yml\n[coveralls-image]: https://img.shields.io/codecov/c/github/koajs/koa.svg?style=flat-square\n[coveralls-url]: https://codecov.io/github/koajs/koa?branch=master\n[backers-image]: https://opencollective.com/koajs/backers/badge.svg?style=flat-square\n[sponsors-image]: https://opencollective.com/koajs/sponsors/badge.svg?style=flat-square\n[gitter-image]: https://img.shields.io/gitter/room/koajs/koa.svg?style=flat-square\n[gitter-url]: https://gitter.im/koajs/koa?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n[#koajs]: https://webchat.freenode.net/?channels=#koajs\n[pr-welcoming-image]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[pr-welcoming-url]: https://github.com/koajs/koa/pull/new\n","funding_links":["https://opencollective.com/koajs","https://opencollective.com/koajs/backer/0/website","https://opencollective.com/koajs/backer/1/website","https://opencollective.com/koajs/backer/2/website","https://opencollective.com/koajs/backer/3/website","https://opencollective.com/koajs/backer/4/website","https://opencollective.com/koajs/backer/5/website","https://opencollective.com/koajs/backer/6/website","https://opencollective.com/koajs/backer/7/website","https://opencollective.com/koajs/backer/8/website","https://opencollective.com/koajs/backer/9/website","https://opencollective.com/koajs/backer/10/website","https://opencollective.com/koajs/backer/11/website","https://opencollective.com/koajs/backer/12/website","https://opencollective.com/koajs/backer/13/website","https://opencollective.com/koajs/backer/14/website","https://opencollective.com/koajs/backer/15/website","https://opencollective.com/koajs/backer/16/website","https://opencollective.com/koajs/backer/17/website","https://opencollective.com/koajs/backer/18/website","https://opencollective.com/koajs/backer/19/website","https://opencollective.com/koajs/backer/20/website","https://opencollective.com/koajs/backer/21/website","https://opencollective.com/koajs/backer/22/website","https://opencollective.com/koajs/backer/23/website","https://opencollective.com/koajs/backer/24/website","https://opencollective.com/koajs/backer/25/website","https://opencollective.com/koajs/backer/26/website","https://opencollective.com/koajs/backer/27/website","https://opencollective.com/koajs/backer/28/website","https://opencollective.com/koajs/backer/29/website"],"categories":["JavaScript","Packages","[Node.js](https://github.com/nodejs/node)","Repository","Web 后端","GIT 仓库","API server framework","Nodejs","包","Node.js","Koa","目录","官方文档","Uncategorized","koa","后端开发框架及项目","Back-End Development","Middleware","{{ NodeJS }}","1. 后端开发"],"sub_categories":["Web frameworks","Web Frameworks","Web 框架","测试","Web框架","Uncategorized","管理面板","1.2 框架"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoajs%2Fkoa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoajs%2Fkoa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoajs%2Fkoa/lists"}