{"library":"koa-connect","type":"library","category":null,"description":"koa-connect is a utility package that enables the integration of standard Connect or Express middleware into a Koa application. It acts as a bridge, adapting the `(req, res, next)` signature of Connect/Express middleware to Koa's `(ctx, next)` context-based middleware pattern. The current stable version is 2.1.1. While not actively undergoing rapid feature development, the package is in a maintenance state, receiving updates for compatibility and bug fixes as needed. It serves a niche purpose, primarily when a Koa-native version of a required middleware is unavailable or for library authors aiming for framework-agnostic HTTP middleware. Developers are strongly cautioned to prefer Koa-specific middleware when available due to fundamental design differences between Koa's async/await flow and Express's callback-based approach, which can lead to unexpected behavior and control flow issues.","language":"javascript","status":"active","version":"2.1.1","tags":["javascript","koa","connect","express","middleware","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-connect","imports":["import c2k from 'koa-connect';","const c2k = require('koa-connect');","import type { MiddlewareAdapter } from 'koa-connect';"]},{"cmd":"yarn add koa-connect","imports":[]},{"cmd":"pnpm add koa-connect","imports":[]}],"homepage":null,"github":"https://github.com/vkurchatkin/koa-connect","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-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/koa-connect/compatibility"}}