Actor processes for JavaScript
A tiny, typed runtime for building concurrent systems out of long-lived processes — no callbacks, no event soup. Everything typed.
Why posipaki
- Processes, not callbacks. Every actor is a self-contained process with its own state and mailbox.
- Fork children. Spawn sub-actors that report back up, with lifecycle hooks and clean shutdown.
- Pause, resume, exit. Your actor lives and dies on its own terms.
- Distributed. Spawn children in a different process, different runtime or connect through websocket.
- One function. The whole API is
defineActor.
Install
npm install posipaki
Start building
Read the quick start and spin up your first actor in under a minute.