A collection of JavaScript utility functions without any dependencies.
$ npm i --save cat-jsutils
var utils = require('cat-jsutils')
utils.string.isString('aaa')//true
//Or
var util = require('cat-jsutils').string
util.isString('aaa')//true
Determine whether value is a string.
Determine whether source contains value.
Determine whether source contains any of the value.
Determine whether source contains all values.
Change source case with CaseType
Generate UUID with length and radix.
Determine whether value is a Number.
Get value's index in array.
Run script to see coverage.
npm run coverage
Open coverage/lcov-report/index.html with browser to see coverage detial.