Next tools.
- route handler utils
- defineHandler
- body / path params / search params validation and documentation with zod + openapi
- route test utils
- mockAppRouterRequest
- mockAppRouterPage
- mockAppRouterLayout
$ pnpm i
# See all test suits
$ npm test
# Generate api docs without starting a next server
$ npm run gen