{"library":"koa2-connect","type":"library","category":null,"description":"A small utility (v1.0.2, last updated 2019) that adapts Connect/Express-style middleware (req, res, next) to work with Koa 2.x async middleware (ctx, next). Unlike koa-connect, koa2-connect is designed to better support streaming middleware like webpack-dev-middleware and webpack-hot-middleware. It is a stopgap for when Koa-native alternatives are unavailable; not recommended for new projects where Koa-native middleware exists.","language":"javascript","status":"maintenance","version":"1.0.2","tags":["javascript","koa","koa2","connect","express","middleware"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa2-connect","imports":["const c2k = require('koa2-connect')","const conv = require('koa2-connect')","const c2k = require('koa2-connect'); app.use(c2k(someExpressMiddleware))"]},{"cmd":"yarn add koa2-connect","imports":[]},{"cmd":"pnpm add koa2-connect","imports":[]}],"homepage":null,"github":"https://github.com/cyrilluce/koa2-connect","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa2-connect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/koa2-connect/compatibility"}}