tg Type checking at runtime Install npm install tg Usage var tg = require('tg').tg tg(Number, 4) tg(String, 4) // throws a TypeError LICENSE MIT