@mewhhaha/sus-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @mewhhaha/sus-api

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

5.45 kB

Total Files

3

Last publish

Collaborators

  • mewhhaha