{"library":"next-connect","type":"library","category":null,"description":"next-connect is a promise-based routing and middleware layer designed specifically for Next.js applications, supporting various environments including API Routes, Edge API Routes, Middleware, App Router Route Handlers, and `getServerSideProps`. Currently at stable version 1.0.0, the library has historically followed an active release cadence, with pre-releases leading up to major versions. Its key differentiators include asynchronous middleware support, a lightweight footprint suitable for serverless environments, and significantly faster performance compared to traditional Express.js setups. It also offers robust TypeScript support and handles asynchronous handlers with integrated error catching, providing a flexible and efficient alternative for managing server-side logic in Next.js projects.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","nextjs","middleware","router","connect","typescript"],"install":[{"cmd":"npm install next-connect","imports":["import { createRouter } from 'next-connect';","import { createEdgeRouter } from 'next-connect';","import { expressWrapper } from 'next-connect';","import type { NextConnect } from 'next-connect';"]},{"cmd":"yarn add next-connect","imports":[]},{"cmd":"pnpm add next-connect","imports":[]}],"homepage":"https://next-connect.js.org","github":"https://github.com/hoangvvo/next-connect","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/next-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/next-connect/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}