24 packages found

    Useful functions when working with JSON.

    published 3.17.1 a month ago
    M
    Q
    P

    Parse a string as JSON.

    published 0.0.7 3 months ago
    M
    Q
    P

    serialize and de-serialize any JavaScript data

    published 1.1.10 9 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 a year ago
    M
    Q
    P

    Rewrites object and array literals with JSON.parse calls.

    published 1.0.2 2 years ago
    M
    Q
    P

    JSON.parse but returns Map instead of Object

    published 1.2.0 3 years ago
    M
    Q
    P

    JSON.stringify but handles Map

    published 2.0.0 3 years ago
    M
    Q
    P

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

    published 1.1.5 2 years ago
    M
    Q
    P

    Super simple and non-recursive merge sort

    published 1.0.4 7 years ago
    M
    Q
    P

    Super simple and non-recursive JSON parse/stringify library

    published 1.0.1 7 years ago
    M
    Q
    P

    try to parse json or return undefined

    published 1.0.0 6 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 4 years ago
    M
    Q
    P

    Parse JSON without SyntaxError

    published 2.3.1 2 years ago
    M
    Q
    P

    Super simple and non-recursive JSON parse/stringify library

    published 1.0.3 6 years ago
    M
    Q
    P

    Transform environment variables into JSON object with sanitized values.

    published 2.0.0 2 years ago
    M
    Q
    P

    Easy to use stringify function with built-in configurable formatters

    published 0.0.4 4 months 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 2 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 2 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 6 years ago
    M
    Q
    P

    Package for storage in localStorage of the browser, already has the conversion of objects to string and string to object again

    published 1.0.1 a year ago
    M
    Q
    P