iType Improved type check. Install npm i itype --save How to use? const itype = require('itype'); console.og(itype.string('hello'))// returnstrue console.log(itype('world'));// returns'string' console.log(itype.array([1, 2]));// returnstrue License MIT