Localize-FSM All of the code is implemented and tested in TypeScript. Source code can be viewed under . +-- src +-- main +-- fsm.ts +-- test +-- fsm.test.ts To run the tests: npm install && npm test