46 packages found

    Isomorphic, functional type-checking for Javascript

    published 7.1.1 5 months ago
    M
    Q
    P

    ensures all required parameters are not null, or throws a useful error like 'phone is required'

    published 1.0.18 5 months ago
    M
    Q
    P

    The type() function types all data types and more.

    published 1.0.3 3 months ago
    M
    Q
    P

    A lightweight stream-like maybe/or else monad for typescript. `maybe(val).valueOr(other)` grant you no unexpected undefined and hence allows you to write you TS-code in a more fluid way, skipping some of those if-else nestings.

    published 1.3.0 7 months ago
    M
    Q
    P

    deep copy anything including programmer defined classes.

    published 1.0.1 3 months ago
    M
    Q
    P

    NodeJS bindings for fastcdc-rs

    published 1.0.1 3 months ago
    M
    Q
    P

    Simple utility function for checking isDefined for complex objects with long property paths

    published 1.0.1 6 years ago
    M
    Q
    P

    A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose

    published 2.0.6 2 years ago
    M
    Q
    P

    util for validation that object has defined props

    published 1.2.2 5 years ago
    M
    Q
    P

    Check if a variable in a nested object is defined and optionally also check its type. Useful for verifying API responses.

    published 1.2.1 2 years ago
    M
    Q
    P

    A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

    published 1.0.1 7 years ago
    M
    Q
    P

    checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

    published 3.0.5 a year ago
    M
    Q
    P

    Finds the absolute filepath to the original sourcecode of any defined value

    published 1.0.1 3 years ago
    M
    Q
    P

    Return the first defined item in an array

    published 1.0.0 7 months ago
    M
    Q
    P

    A utility function for extracting defined values from an object.

    published 1.0.0 3 years ago
    M
    Q
    P

    Common types, type guards and type checkers.

    published 4.2.0 7 months ago
    M
    Q
    P

    Check if value is defined

    published 0.1.1 6 years ago
    M
    Q
    P

    checks if your properties or values are defined

    published 2.4.2 2 years ago
    M
    Q
    P

    Returns a new object without undefined object properties

    published 0.0.1 6 years ago
    M
    Q
    P

    Safe chaining of object properties and functions using ES2015 Proxy.

    published 0.1.4 6 years ago
    M
    Q
    P