Notoriously Psychedelic Modules

    25 packages found

    Useful functions when working with JSON.

    published 3.20.1 4 months ago
    M
    Q
    P

    Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.

    published 3.0.0 2 years ago
    M
    Q
    P

    JSON.stringify but handles Map

    published 2.0.0 4 years ago
    M
    Q
    P

    JSON.parse but returns Map instead of Object

    published 1.2.0 4 years ago
    M
    Q
    P

    serialize and de-serialize any JavaScript data

    published 1.2.3 4 months ago
    M
    Q
    P

    Super simple and non-recursive merge sort

    published 1.0.4 8 years ago
    M
    Q
    P

    Super simple and non-recursive JSON parse/stringify library

    published 1.0.1 8 years ago
    M
    Q
    P

    try to parse json or return undefined

    published 1.0.0 7 years ago
    M
    Q
    P

    Transform environment variables into JSON object with sanitized values.

    published 2.0.0 3 years ago
    M
    Q
    P

    Parse a string as JSON.

    published 0.0.8 10 months ago
    M
    Q
    P

    Parse JSON without SyntaxError

    published 2.3.1 3 years ago
    M
    Q
    P

    JSON reviver, allowing named functions and their parameters to be replaced by their output values

    published 0.2.0 7 months ago
    M
    Q
    P

    A rollup plugin that wraps compatible objects with JSON.parse() to improve performance.

    published 1.1.5 3 years ago
    M
    Q
    P

    Super simple and non-recursive JSON parse/stringify library

    published 1.0.3 7 years ago
    M
    Q
    P

    Rewrites object and array literals with JSON.parse calls.

    published 1.0.2 3 years ago
    M
    Q
    P

    Yet another try/catch for JSON#parse. This one returns your custom error token value in case of a SyntaxError (default: undefined), and passes all other errors to your custom error handler (default: re-throw).

    published 1.0.0 5 years ago
    M
    Q
    P

    Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.

    published 1.0.3 7 years ago
    M
    Q
    P

    Serialize a JavaScript error to a regular, json stringifiable object, and deserialize an object into an error.

    published 0.1.1 3 years ago
    M
    Q
    P

    Like JSON.parse, but doesn't throw on invalid JSON.

    published 1.1.0 4 years ago
    M
    Q
    P

    Use some simple conventions to read process.env into a deeply nested javascript object recognizing arrays and numbers.

    published 0.0.1 3 years ago
    M
    Q
    P