Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

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

gcanti/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