Built-in types
Every response is fully typed from the PokéAPI schema, so the shape of your data is checked at compile time rather than discovered at runtime.
Built on native fetch, so it runs in Node, Deno, Bun, browsers, and edge runtimes.
Every response is fully typed from the PokéAPI schema, so the shape of your data is checked at compile time rather than discovered at runtime.
Nothing to install but the package itself. Native fetch does the work, and the whole library is a few kilobytes.
Responses are cached in memory by default. Swap in Redis, a KV namespace, or anything else that implements CacheStore — or turn it off.
Pass a custom fetch to route through a proxy, add retries, attach headers, or impose a timeout.
Point the request lifecycle at the console, at pino, or at a metrics collector. Nothing is logged unless you ask.
Reach for a focused client like PokemonClient, or use MainClient to get all of them sharing a single cache.