node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

tg

tg

Type checking at runtime

Build Status NPM version

Install

npm install tg

Usage

var tg = require('tg').tg
tg(Number, 4)

tg(String, 4) // throws a TypeError

LICENSE

MIT