@mewhhaha/sus-api
v0.0.1
Published
Contains routes to the Simple Upload Service API
Downloads
3
Readme
Use the types from this package to call the sus service.
import { fetcher } from '@mewhhaha/little-fetcher';
import { Routes } from '@mewhhaha/sus-api';
const simpleUploadService = fetcher<Routes>({ (...args) => fetch(...args) }, { base: ... });
// Then you can discover what's on each method
simpleUploadService.get(...)
simpleUploadService.post(...)