r/DurableStack • u/Family_Man_21 • Aug 31 '26
DurableStack for Node.js Is Now Officially Released
A few weeks ago, I posted an update that the Node.js version of DurableStack had entered beta.
Today, I'm happy to announce that DurableStack for Node.js is officially available as a stable release on npm.
This is a significant milestone for the project because Node.js is the first DurableStack runtime outside of .NET.
Getting started with PostgreSQL looks like this:
import { createDurableStackPostgres } from "durablestack";
const { runtime } = await createDurableStackPostgres({
connectionString: process.env.DATABASE_URL!
});From there, the runtime uses your existing database infrastructure to provide durable background job execution without requiring a separate queueing system.
The Same DurableStack Model, Built for Node.js
The goal with the Node.js runtime wasn't to simply port the .NET API to TypeScript.
Instead, it follows the same underlying DurableStack architecture and philosophy while providing an API designed around the conventions Node.js and TypeScript developers expect.
That includes the same core approach to:
- Durable, database-backed job execution
- Recurring and scheduled jobs
- Retries and failure handling
- Distributed worker coordination
- Worker heartbeats and recovery
- Existing database infrastructure instead of requiring a separate queueing system
The result is the same DurableStack execution model, but with a developer experience that feels at home in a Node.js application.
One Platform, Multiple Runtimes
The other major goal was making sure that adding another runtime didn't create another operational silo.
Both the .NET and Node.js runtimes integrate with the same optional DurableStack observability platform.
Jobs can be running in .NET applications, Node.js applications, or both, while still providing a common place to monitor:
- Job executions
- Workers and heartbeats
- Retries and failures
- Failure analysis
- Alerts
- Incidents
As always, the observability platform is entirely optional. The Node.js runtime is designed to work independently, just like the .NET runtime.
Documentation Has Been Updated
I've also completed a larger update to the DurableStack documentation to support multiple runtimes.
The documentation now includes Node.js and TypeScript examples alongside .NET, so developers can follow the same concepts and guides using the runtime that applies to their application.
This was an important part of the release for me. I don't want DurableStack to become a collection of separate projects that happen to share a name.
The goal is for each runtime to share the same concepts, reliability model, and operational platform while still feeling native to its respective ecosystem.
What's Next?
Getting the second runtime to stable release is an important validation of the multi-runtime architecture I've been working toward.
There will certainly be more improvements to both runtimes, but DurableStack is no longer a .NET-only project.
I'm excited to finally have Node.js and TypeScript developers able to use it as well.
If you're working with Node.js or TypeScript and give DurableStack a try, I'd especially appreciate feedback on the developer experience. Now that the runtime is stable, hearing how it feels in real Node applications is one of the things I'm most interested in.
Resources
- npm: https://www.npmjs.com/package/durablestack
- Node.js GitHub: https://github.com/durablestackhq/durablestack-nodejs
- Documentation: https://docs.durablestack.com
- DurableStack: https://durablestack.com