{"repo":"yiminghe/next-context","free":true,"listed":false,"github":"https://github.com/yiminghe/next-context","clone":"git clone https://github.com/yiminghe/next-context.git","description":"unified middleware and request context for next.js","language":"TypeScript","stars":11,"topics":["expressjs","koa","middleware","nextjs"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"next-context - Using koa style middlewares inside nextjs - Unified request/response context across Page/Components/Route/Action/Middleware - SetCookie/clearCookie inside Page/Route/Action/Middleware - I18n support both for server and client component - Cors support for api route [![NPM version][npm-image]][npm-url] [![Test coverage][coveralls-image]][coveralls-url] [![npm download][download-image]][download-url] [npm-image]: http://img.shields.io/npm/v/next-context.svg?style=flat-square [npm-url]: http://npmjs.org/package/next-context [coveralls-image]: https://img.shields.io/coveralls/yiminghe/next-context.svg?style=flat-square [coveralls-url]: https://coveralls.io/r/yiminghe/next-context?branch=main [node-image]: https://img.shields.io/badge/node.js-%3E= 18.0-green.svg?style=flat-square [node-url]: http://nodejs.org/download/ [download-image]: https://img.shields.io/npm/dm/next-context.svg?style=flat-square [download-url]: https://npmjs.org/package/next-context demo docs Docs Usage nextjs middleware src/middleware.ts extends type page src/app/page.tsx action src/action/getUser.ts route src/app/get/route.ts nginx","default_branch":null,"files":null,"tree":[],"storefront":"/r/yiminghe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yiminghe/next-context/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}