@aleen42/state (npm): A simple implementation of state machines in JavaScript with Generator.
Keywords: state|generator