
@hazeljs/flow: A Durable Execution Graph Engine for Node.js
Links: npm @hazeljs/flow · npm @hazeljs/flow-runtime · GitHub (monorepo) · Example repo (hazeljs-flow-example) · HazelJS Why We Built It Modern applications increasingly rely on workflows —multi-step processes that span services, require human input, and must survive restarts. Think order fulfillment, fraud review, document approval, onboarding sequences, or AI agent orchestration. These aren't simple request-response; they're stateful, long-running, and often asynchronous . The problem: most Node.js frameworks treat each request as stateless. When you need to "pause" a workflow and resume it later—after a webhook, a manual approval, or a retry—you're on your own. You end up hand-rolling state machines, polling loops, and ad-hoc persistence. That leads to brittle code, lost state, duplicate charges, and debugging nightmares. @hazeljs/flow was created to give Node.js developers a workflow OS kernel : a durable, auditable, resumable execution graph engine that handles the hard parts—pers
Continue reading on Dev.to JavaScript
Opens in a new tab




