@furystack/rest-client-got
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

rest-client-got

REST Client package for @furystack/rest with got implementation You can use this package to operate strongly typed REST APIs in the browser and in NodeJS with the got library.

import { MyApi } from 'my-common-package'
import { createClient } from '@furystack/rest-client-got'

export const callMyApi = createClient<MyApi>({
    endpointUrl: 'http://my-service-endpoint',
})

Package Sidebar

Install

npm i @furystack/rest-client-got

Weekly Downloads

7

Version

2.1.0

License

GPL-2.0

Unpacked Size

44.4 kB

Total Files

19

Last publish

Collaborators

  • gallayl