isnumber

A simple test to see if a value is a non-infinite number.

stately.js

Stately.js is a JavaScript based finite-state machine (FSM) engine for Node.js and the browser.