⚡
High Performance
Built in Rust using napi-rs, Otik delivers extremely-fast HTTP requests with minimal overhead.
Very fast, safe, and elegant HTTP requests with zero bloat.
import { Client } from "otik";
const client = new Client();
const res = await client.get("https://example.com");
console.log(res);
import { t, Client } from "otik";
const client = new Client();
const User = t.object({
id: t.number(),
name: t.string(),
email: t.string(),
});
const res = await client.get("https://example.com/user/1", User);
console.log(res.id); // 100% type-safe + automatically deserialized!