@hey-api/client-fetch@0.3.1
latest
hey-api/openapi-tsType-safe Fetch API client for your @hey-api/openapi-ts types
This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers




JSR Score
64%
Published
9 months ago (0.3.1)

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.
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.
Add Package
deno add jsr:@hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";
Import directly with a jsr specifier
import * as client_fetch from "jsr:@hey-api/client-fetch";
Add Package
pnpm i jsr:@hey-api/client-fetch
pnpm dlx jsr add @hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";
Add Package
yarn add jsr:@hey-api/client-fetch
yarn dlx jsr add @hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";
Add Package
vlt install jsr:@hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";
Add Package
npx jsr add @hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";
Add Package
bunx jsr add @hey-api/client-fetch
Import symbol
import * as client_fetch from "@hey-api/client-fetch";