Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including rxjs-fsm with all npm packages installed. Try it out:

var rxjsFsm = require("rxjs-fsm")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

rxjs-fsm v1.0.7

An rxjs finite statemachine, i needed one for an Angular project but the code i made is just rxjs and typescript


Just a finite statemachine done with RXJS. Will need some love before its production ready like tests, but it's not complicated, so it's probably safe if you need it, use it.


Because i needed it, and it was a good test of remind myself how to write one but to write one using rxjs.


Stackblitz playground


  • Write better docs
  • Add some examples
  • Consider visual outputs for FSM
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free