Next.js API route middleware: compose, validation, CSRF protection, and security headers
npm install @philiprehberger/next-api-middleware