Awesome
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.
Setup
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
Flow
Download Flow from https://github.com/facebook/flow/releases
cd babel-plugin-tcomb-boilerplate
flow # run flow
Branches
master
(complete app, WIP)counter
(react + redux)elm
(elm architecture)react-router
(react + react-router)react-redux
(react + redux + react-redux)