Web application framework for linking everything together

npm install l
2 downloads in the last day
35 downloads in the last week
110 downloads in the last month


Framework for stateful oop combining class based programming with statechart principles


  • Transition has a trigger: event, condition, idle timeout and delay.
  • A composite state is used to encapsulate states with the same events. Fewer arrows.
  • History state can only be in a composite state.
  • Shallow history state: Remembers the state in the same level.
  • Deep history state: Remembers the state that can be very deep in the hierarchy.
  • A composite state can transition to a sibling state no matter which substate is active. Use deep history state to remember what substate to enter when the composite state is entered again.
  • Final state: terminates the statechart. Could be multiple final states. They have no outgoing transitions.


npm loves you