Remix.run Logo
func-to-route/next: turn any function in a Next.js API route with 1LOC(github.com)
1 points by danielfalbo 10 hours ago | 1 comments
danielfalbo 10 hours ago | parent [-]

Simple as

export const GET = funcToRoute(sayHello)