JSPM

Found 15 results for kindof

isobject

Returns true if the value is an object and not an array or null.

  • v4.0.0
  • 135.42
  • Published

parse-semver

Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.

  • v1.1.1
  • 95.33
  • Published

precise-typeof

Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.

  • v2.0.1
  • 52.74
  • Published

is-kindof

Check type of given javascript value. Support promises, generators, streams, and native types. Built on [kind-of][] lib.

  • v3.0.1
  • 28.24
  • Published

typeov

👺 weak but accurate type checking that returns a string representation of input's type

  • v1.2.6
  • 27.93
  • Published

assertit

Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.

  • v0.1.0
  • 27.24
  • Published

assert-kindof

Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].

  • v2.0.1
  • 26.70
  • Published

kind-of-extra

Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.

  • v1.0.4
  • 24.88
  • Published

kind-of-types

List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.

  • v1.0.1
  • 22.55
  • Published

abbrev-kindof

Use abbreviations for checking type of given value. Like `kindof(val, 'soa')` to check that value is string, object or array.

  • v1.0.5
  • 17.18
  • Published

@oxog/kindof

Zero-dependency advanced type detection library with TypeScript support, plugin system, and 100% test coverage

  • v1.0.0
  • 14.61
  • Published

kind-error

Base class for easily creating meaningful and quiet by default Error classes with sane defaults and assertion in mind.

  • v2.0.0
  • 13.81
  • Published

realtypeof

You can get the real type of values (i.e. array, null, object, map, set, etc.)

  • v1.2.0
  • 12.36
  • Published

minibase-assert

Plugin for [minibase][] and [base][], that adds assertion methods - most of [assert-kindof][] methods and built-ins assert module.

  • v1.0.2
  • 2.96
  • Published