Node.js SDK
The official Node.js SDK is currently in development. It will provide a fully typed client for interacting with the AsyncQueue API.
In the meantime, you can use the REST API directly with any HTTP client like fetch or axios.
Preview
Section titled “Preview”import { AsyncQueue } from "@asyncqueue/sdk";
const client = new AsyncQueue({ apiKey: process.env.ASYNCQUEUE_API_KEY,});
const task = await client.tasks.create({ queue: "emails", webhookUrl: "https://your-app.com/webhooks/send-email", payload: { template: "welcome", },});
console.log(`Task created: ${task.id}`);Want early access? Contact us to join the beta.