Skip to content

insha/Krypton

Repository files navigation

Krypton

A Lightweight and Elegant State Machine

Features

  • Zero external dependencies and lightweight
  • Unrestricted number of states and events
  • Rich set of life cycle closures for both state and event
  • Ability to broadcast arbitrary metadata during transitions
  • 90+% unit test coverage giving you confidense in the library