TypeJS
TypeJS is lightweight library its give to developer additional functionality for a manipulation (check, validate and using) JavaScript data types. Library support both (AMD, CommonJS)
Docs
Version
Install
CDN
NPM
$ npm install js-type-helper
Yarn
$ yarn add js-type-helper
Code Examples
const str = 'some text';TypeJS // String const intNum = 5;TypeJS // Int const floatNum = 8469;TypeJS // Float const infNum = 8 / 0;TypeJS // Infinity const negInfNum = -2 / 0;TypeJS // -Infinity const nanNum = 80 / 'some text';TypeJS // NaN const obj = {};TypeJS // Object const nul = null;TypeJS // Null const unDef;TypeJS // Undefined const bool = true;TypeJS // Boolean const arr = 0 1 2;TypeJS // Array const foo = {};TypeJS // Function const date = ;TypeJS // Date