@lionhat/slatt
v1.0.0
Published
A minimal middleware for serverless Vercel apps
Downloads
3
Maintainers
Readme
slime love all the time
Docs
Context
contains vercel/now/next Response and Request types (NowRequest, NowResponse)
Usage
import { slatt } from '@lionhat/slatt'
// ...
export default slatt({
get: ctx => list(ctx),
post,
put,
patch,
delete
})