16 packages found

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

    published 4.0.0 3 years ago
    M
    Q
    P

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

    published 1.1.1 6 years ago
    M
    Q
    P

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

    published 1.2.6 a year ago
    M
    Q
    P

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

    published 1.0.1 6 years ago
    M
    Q
    P

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

    published 0.1.0 7 years ago
    M
    Q
    P
    M
    Q
    P

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

    published 1.2.0 a year ago
    M
    Q
    P

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

    published 2.0.1 3 years ago
    M
    Q
    P

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

    published 2.0.1 5 years ago
    M
    Q
    P

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

    published 3.0.1 5 years ago
    M
    Q
    P

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

    published 1.0.4 5 years ago
    M
    Q
    P

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

    published 1.0.5 6 years ago
    M
    Q
    P

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

    published 1.0.2 5 years ago
    M
    Q
    P

    An extension to the `mout/lang` utilities

    published 0.6.0 6 years ago
    M
    Q
    P

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

    published 2.0.0 6 years ago
    M
    Q
    P

    ECMAScript 2015 compliant typeof extension

    published 0.5.1 6 years ago
    M
    Q
    P