0.0.1 • Published 2 years ago

@mewhhaha/sus-api v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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(...)
0.0.1

2 years ago