Easy type checking for node.js.