What is next-connect?
"The method routing and middleware layer for Next.js (and many others)"
next-connect is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 43.9 KB on disk.
Installation Guide
# Install via NPM
npm install next-connect
# Install via Yarn
yarn add next-connect