SDK
JavaScript SDK
Zero dependencies, works anywhere fetch exists. Never throws on API trouble.
terminal
npm install antiburnercheck.ts
import { AntiBurner } from "antiburner";
const ab = new AntiBurner({ apiKey: process.env.ANTIBURNER_KEY! });
const r = await ab.check("J.Doe+trial1@GMail.com");
r.action; // "allow"
r.normalized_email; // "jdoe@gmail.com"
const many = await ab.bulk(["a@mailinator.com", "x@duck.com"]);Options
| Option | Default |
|---|---|
| apiKey | required |
| baseUrl | https://api.antiburner.com |
| timeoutMs | 300 |
| onError({ reason, status, email }) | none |
| fetch | globalThis.fetch |