An unofficial TypeScript/Node.js SDK for the Kit.com API v4. It provides typed resource handlers, API key and OAuth bearer-token authentication, and configurable retries for transient failures.
This project is not maintained or endorsed by Kit.com.
npm install @anthonyhagi/kit-node-sdkRequires Node.js >= 22.0.0. TypeScript projects require TypeScript >= 5.0.
import { Kit } from "@anthonyhagi/kit-node-sdk";
const kit = new Kit({ apiKey: "YOUR_API_KEY" });
const response = await kit.accounts.getCurrentAccount();
console.log(response.account.name);You can also set KIT_API_KEY and initialize with new Kit().
See the documentation index for the complete guides:
- Getting started: installation, CommonJS, and TypeScript.
- Configuration: authentication, environment variables, and client options.
- API resources: supported resources and methods.
- Examples: pagination, subscribers, tags, forms, and sequences.
- Errors, retries, and rate limits: response handling and retry behavior.
See DEVELOPMENT.md for setup, scripts, and testing, and read CONTRIBUTING.md before contributing. This project is licensed under the MIT License.
Use this unofficial SDK in accordance with Kit.com's terms and API policies.