Narcoleptic Programmers' Medicine

    52 packages found

    ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

    published 1.2.1 3 years ago
    M
    Q
    P

    Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

    published 7.0.0 4 years ago
    M
    Q
    P

    Generates a config object from a config map using any input sources.

    published 1.0.4 3 years ago
    M
    Q
    P

    Declarative, functional & typechecked CLI argument/options parser, value coercions etc.

    published 2.1.9 21 days ago
    M
    Q
    P

    Coerce props to custom values

    published 1.0.0 4 years ago
    M
    Q
    P

    Coerces values into a pattern

    published 1.0.4 5 years ago
    M
    Q
    P

    Returns true if the value is a number. comprehensive tests.Study from jonschlinkert/is-number

    published 1.0.0 4 years ago
    M
    Q
    P

    Helper methods for manipulating variables

    published 1.6.4 3 months ago
    M
    Q
    P

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

    published 1.2.6 2 years ago
    M
    Q
    P

    Change values on an object based on keywords or a key map.

    published 0.2.2 2 days ago
    M
    Q
    P

    Simple JSON schema implementation designed to be used for JSON configuration files

    published 3.1.0 6 years ago
    M
    Q
    P

    Coerces values to JavaScript Objects where possible

    published 0.1.0 a year ago
    M
    Q
    P

    Helper module to parse/cast/coerce strings.

    published 1.1.0 3 years ago
    M
    Q
    P

    A tool for cast and coerce data from one format to another

    published 0.1.2 3 years ago
    M
    Q
    P

    Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

    published 7.0.4 2 months ago
    M
    Q
    P

    An object stream that coerces tabular data to numbers

    published 1.0.1 6 years ago
    M
    Q
    P

    A simple JavaScript utility to convert various values to an ImmutableDate.

    published 1.0.1 5 years ago
    M
    Q
    P

    cast JS objects to a specified schema, ahoy!

    published 0.1.1 9 years ago
    M
    Q
    P

    env value to JS value, check env val is boolean or others

    published 2.0.1 5 months ago
    M
    Q
    P

    A library to coerce values at run-time.

    published 3.1.0 2 months ago
    M
    Q
    P