0.0.2 • Published 8 months ago
next-fetchx v0.0.2
next-fetchx
Usage
import { NextFetchx } from 'next-fetchx'
const nextFetchx = new NextFetchx(
{
credentials: 'include',
requestOptions: {
apiUrl: 'http://localhost:3000/api',
},
},
)
const fetchx = nextFetchx.fetch.bind(nextFetchx)
export { fetchx }