koajs / examples

Example Koa apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is it possible to use connect/express middleware or application in koa?

hlobil opened this issue · comments

I can see how to use koa application in express using koa.callback() but how do I mount an existing express app in koa?

Thank you

not officially. you can do yield middleware.bind(null, this.req, this.res), but you'll run into all sorts of problems.