Getting Started
Installation
Install the Tawa TypeScript SDK and construct the client.
npm install @tawaguard/sdkpnpm add @tawaguard/sdkyarn add @tawaguard/sdkConstruct the client
import { TawaGuard } from "@tawaguard/sdk";
export const tawa = await TawaGuard.create(process.env.TAWA_API_KEY!);TawaGuard.create authenticates before returning — a bad key surfaces at
construction time rather than on the first scan call. See
Configuration for the full option set.
Keep your secret key server-side. Don't ship it to the browser or commit it.