A composable durable workflow library for JavaScript, actively inspired by Cloudflare Workflows, built on top of iso4.
Workflows run inside a sandbox and use a step-based API whose results are persisted, so they can be suspended, resumed on timers or external events, retried, or stopped. The persistence layer is pluggable — bring your own store — and the sandbox can be extended with your own global APIs and module imports.
🚧 Work in progress — nothing to see here yet.
This is a pnpm monorepo. Published packages live in packages/:
| Package | Description |
|---|---|
durable-workflows |
The durable workflow engine. |
durable-isolates |
The replay kernel the engine builds on. |
pnpm install # Install dependencies
pnpm test:run # Run all package tests
pnpm build # Build all packages
pnpm lint # Lint
pnpm typecheck # Type checkMIT