is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
jssm
A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.