0.0.1 • Published 2 years ago
@exobase/next v0.0.1
@exobase/next
Exobase root hook to handle function running on Next.js api functions
Usage
import * as _ from 'radash'
import type { Props } from '@exobase/core'
import { useNext } from '@exobase/next'
const ping = async (props: Props) => {
return {
message: 'pong'
}
}
export default _.compose(
useNext,
ping
)
0.0.1
2 years ago