@hey-api/client-fetch

v0.1.2
Typesafe Fetch API client for your @hey-api/openapi-ts types
client fetch http javascript openapi react rest svelte swagger and 3 more...

Logo

Fetch API Client

🚀 Type-safe Fetch API client for your Hey API types.

Plug and play Fetch API wrapper for @hey-api/openapi-ts generator.

Live demo

Features

  • seamless integration with @hey-api/openapi-ts
  • type-safe response data and errors
  • access to the original request and response
  • granular request and response customization options
  • minimal learning curve thanks to extending the underlying technology
  • support bundling inside the generated output

Documentation

Please visit our website for documentation, guides, migrating, and more.

Sponsoring

Love Hey API? Please consider becoming a sponsor.

GitHub Integration (coming soon)

Automatically update your code when the APIs it depends on change. Find out more.

Migrating from OpenAPI Typescript Codegen?

Please read our migration guide.

Contributing

Want to get involved? Please refer to the contributing guide.

npm i @hey-api/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/24/2024

Downloads

Maintainers