Introduction
@zimic/http
is a collection of type-safe utilities to handle HTTP requests and responses, including headers, search
params, and form data.
Status: Beta 🌱
Features
-
⭐ HTTP schemas
Declare the structure of your endpoints in an HTTP schema and use it to type your HTTP requests and responses.
-
💡 Type generation
Infer the types from OpenAPI documentation and generate ready-to-use HTTP schemas with our typegen CLI.
-
📌 Type-safe APIs
Declare typed
Headers
,URLSearchParams
, andFormData
objects, fully compatible with their native counterparts.
Learn more: