A TypeScript wrapper for the official Krunker API
krapi is available on both NPM and JSR as @gu5/krapi.
import { KrunkerApi } from "@gu5/krapi";
const kr = new KrunkerApi({ apiKey: "YOUR API KEY HERE" });
const profile = await kr.fetchProfile("givetickrate");