@zimic/http
Version:
Next-gen TypeScript-first HTTP utilities
66 lines (47 loc) • 2.85 kB
Markdown
<p align="center">
<img src="../../docs/zimic.png" align="center" width="100px" height="100px">
</p>
<h1 align="center">
/http
</h1>
<p align="center">
Next-gen TypeScript-first HTTP utilities
</p>
<p align="center">
<a href="https://www.npmjs.com/package/@zimic/http">npm</a>
<span> • </span>
<a href="https://zimic.dev">Docs</a>
<span> • </span>
<a href="https://zimic.dev/docs/examples">Examples</a>
<span> • </span>
<a href="https://github.com/zimicjs/zimic/issues">Issues</a>
<span> • </span>
<a href="https://github.com/orgs/zimicjs/projects/1/views/4">Roadmap</a>
</p>
<div align="center">
[](https://github.com/zimicjs/zimic/actions/workflows/ci.yaml)
[](https://github.com/zimicjs/zimic/actions)
[](https://github.com/zimicjs/zimic/blob/canary/LICENSE.md)
[](https://github.com/zimicjs/zimic)
[](https://www.npmjs.com/package/@zimic/http)
[](https://bundlephobia.com/package/@zimic/http)<br />
</div>
---
`/http` is a collection of type-safe utilities to handle HTTP requests and responses, including headers, search
params, and form data.
## Highlights
- :star: **HTTP schemas**
Declare the structure of your endpoints in an [HTTP schema](https://zimic.dev/docs/http/guides/schemas) and use it to
type your HTTP requests and responses.
- :bulb: **Type generation**
Infer the types from [OpenAPI](https://www.openapis.org/) documentation and generate ready-to-use HTTP schemas with
our [typegen CLI](https://zimic.dev/docs/http/guides/typegen).
- :pushpin: **Type-safe APIs**
Declare typed [`Headers`](https://zimic.dev/docs/http/api/http-headers),
[`URLSearchParams`](https://zimic.dev/docs/http/api/http-search-params), and
[`FormData`](https://zimic.dev/docs/http/api/http-form-data) objects, fully compatible with their native counterparts.
**Learn more**:
- [`/http` - Getting started](https://zimic.dev/docs/http/getting-started)
- [`/http` - Guides](https://zimic.dev/docs/http/guides)
- [`/http` - API](https://zimic.dev/docs/http/api)
- [`/http` - CLI](https://zimic.dev/docs/http/cli)