babel-plugin-tcomb is a babel plugin for static and runtime type checking using Flow and tcomb.
Tools
Flow is a static type checker for JavaScript.
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.
git clone https://github.com/gcanti/babel-plugin-tcomb-boilerplate.git
cd babel-plugin-tcomb-boilerplate
npm install
git checkout <branch>
npm start # start dev server
Then open localhost:8080
Download Flow from https://github.com/facebook/flow/releases
cd babel-plugin-tcomb-boilerplate
flow # run flow