-
[Quickstart](https://counterfact.dev/docs/quick-start.html) suggests the following command:
```sh
npx counterfact@latest https://petstore3.swagger.io/api/v3/openapi.json api --open
```
This do…
-
Here's what Koa says:
koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/…
-
koa deprecated Support for generators will been removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x
-
# koa源码分析系列(一)generator
koa基于co实现,co又是使用了es6的generator特性,所以,没错这个特性支持很一般。
有下面几种办法体验generator:
* node v0.11 可以使用 (node —harmony)
* 使用gnode来使用,不过据说性能一般
* 使用chrome体验,打开chrome://flags/, 搜索harmon…
-
this code:
```
const webpackHotMiddleware = require('koa-webpack-hot-middleware');
const compiler = webpack(config[0]);
koaApp.use(webpackHotMiddleware(compiler));
```
generates this warning…
-
For example, Exercise 1 still tells you to use `app = koa()` instead of the class-based notation (`app = new Koa()`).
And once you change this, koa tells you that generators are now deprecated and wi…
-
Please upgrade:
> koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migr…
-
https://github.com/koajs/koa
-
We should document middleware that we recommend to do common things, such as:
- [ ] cors
- [ ] compression
- [ ] proxy
-
I am working on a Koa v1 app and would like to implement new routes with async/await instead of generator functions. I found this library has `convert.back()` which is mostly working for me. However, …