Durable wake-ups for TypeScript apps and agents, providing scheduling, debouncing, and retry primitives backed by Postgres or SQLite. Current stable version is 0.11.0 (pre-1.0, breaking changes possible in minor releases). It differentiates from workflow engines (Temporal, Inngest) and job queues (Bull, RabbitMQ) by running handlers in-process without external services, with zero runtime dependencies and serverless compatibility (Vercel, Lambda). Release cadence is monthly with semantic versioning.
npm install delaykitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a DelayKit instance with MemoryStore and PollingScheduler, registers a handler, schedules a reminder, and stops after execution. Demonstrates the core primitives without a database.
Pin to exact version and review changelog on each upgrade.
Use unschedule before rescheduling if you want to cancel and start fresh, or rely on the idempotent behavior.
Swap store to PostgresStore or SQLiteStore for production environments.
Monitor changelog and pin to specific version.
Run `npm install better-sqlite3` or use a different store.
Replace `import delaykit from 'delaykit'` with `import { DelayKit } from 'delaykit'`.Ensure the store class implements the full Store interface from delaykit.