Skip to content

Boilerplate showing what you can get in terms of type safety with babel-plugin-tcomb

Notifications You must be signed in to change notification settings

STRML/babel-plugin-tcomb-boilerplate

 
 

Repository files navigation

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

Editor tools

Sublime Text 3

SublimeLinter-flow

Atom

flow-ide

About

Boilerplate showing what you can get in terms of type safety with babel-plugin-tcomb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 2.2%