tcomb is a library for node.js and the browser which allows you to check the types of JavaScript values at runtime.
tcomb
is a library for Node.js and the browser which allows you to check the types of JavaScript values at runtime with a simple and concise syntax. It's great for Domain Driven Design and for adding safety to your internal code.