CodeBrowser / github / statelyai/xstate
statelyai/xstate
# State machines, statecharts, and actors for complex logic
$ git clone https://github.com/statelyai/xstate.git
Also indexed as
stars
29,906
forks
1,375
language
TypeScript
license
MIT License
What is statelyai/xstate?
XState is a TypeScript library for building state machines, statecharts, and actor-based systems to manage complex application logic. It provides a declarative way to define and execute finite state machines with support for nested states, parallel states, and side effects, making it useful for orchestrating workflows, managing intricate UI behavior, and handling background jobs. Developers use XState when they need a robust, visual, and maintainable alternative to scattered conditional logic for state-dependent behavior.
Topics
#background-jobs #finite-state-machine #fsm #hacktoberfest #interpreter #javascript #orchestration #scxml #state #state-machine #state-management #statechart #statecharts #typescript #visualizer #workflow
Activity
119 open issues · last updated Jul 21, 2026