gisspy
v0.1.1
Published
Type safe, composable and reusable middleware for Next.js routes
Downloads
86
Readme
gisspy
Write middleware for GetServerSideProps
, GetStaticProps
and API routes.
Gisspy allows you to write middleware in composable and fully type safe layers that can be used across different endpoints.
Instalation
npm install gisspy
Usage
getServerSideProps
middlewaregetStaticProps
middleware- API Handlers
- Reusing middleware
- Creating reusable layers
getServerSideProps
middleware
todo
Passing props from layers
todo
getStaticProps
middlware
todo
API Handlers
todo
Reusing middleware
todo
Creating reusable layers
todo
Layers with context
todo