-
I'm using the example given. But it doesn't work.
```
const mount = require('koa-mount');
const Koa = require('koa');
const app = new Koa();
async function world(ctx, next) {
await next(…
-
Hi, from reading the code and previous issues I believe I have the right answer, but since it is not 100% clear I just wanted to make sure:
Is it the developer's (my) responsibility to call `encode…
-
Koa throws when a status code not defined in the `statuses` package is used in response:
https://github.com/koajs/koa/blob/78832ff6c63fdd93ad9a49f31ba2edd8cbe8adee/lib/response.js#L84
However, t…
-
## 背景
目前 Egg.js 继承的 [koa-router](https://github.com/alexmingoia/koa-router/) 基本上处于维护瘫痪状态,各种特性、PR、Issue 都基本上没人处理了。无法达到很好的一个特性更新的效果。
例如这里有一个 [PR](https://github.com/alexmingoia/koa-router/pull…
-
As a framework, I suggest choosing Koa or Express.
Links:
https://expressjs.com/
https://koajs.com/
-
Hey folks — @dimonnwc3 created a Koa [RealWorld](https://github.com/gothinkster/realworld) implementation and we're looking for a Koa community member to approve [his codebase]( https://github.com/got…
-
```js
const Koa = require('koa');
const router = require('koa-router')();
const logger = require('..');
const app = new Koa();
// test route
router.get('/name/:id', (ctx) => {
console.log…
-
Refactor so that we are not duplicating the adding of the CORS header
-
Hey,
I just started validating micro in a new project, and I found this to be kind of an issue right off the bat.
The issue is kind of related to this one: https://github.com/zeit/micro/issues/296…
-
https://semver.org/
> Given a version number MAJOR.MINOR.PATCH, increment the:
>
> MAJOR version when you make incompatible API changes,
> MINOR version when you add functionality in a backward…