Skip to content

Node.js SDK

What it’ll look like

import { Recuro } from 'recuro';
const recuro = new Recuro({ token: 'YOUR_API_TOKEN' });
// Create a cron
await recuro.crons.create({
name: 'Nightly cleanup',
url: 'https://api.yourapp.com/cleanup',
method: 'POST',
cronExpression: '0 3 * * *',
});
// Push a one-off job
await recuro.jobs.create({
queue: 'emails',
url: 'https://api.yourapp.com/send-welcome',
payload: { userId: 42 },
});

Ships with full TypeScript types. Works with Node.js 18+, Bun, and Deno.

In the meantime

The REST API works from any language. See the API reference to get started now.