$ npm install kind-of-types
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
npm i kind-of-types --save
npm test
For more use-cases see the tests
var types = require('kind-of-types')
console.log(types)
//=> [
// "null",
// "set",
// "map",
// "date",
// "array",
// "string",
// "object",
// ...
// ]
testit framework, is-kindof and assert.kind-of module.apple, car, test and false otherwise, never throws.kind-of type check utility with support for promises, generators, streams and errors. Like kindof(Promise.resolve(1)) === 'promise' and etc.Error. Supports constructing from an object of properties - focused on assertion.© 2010 - cnpmjs.org x YWFE | Home | YWFE