Search results
27 packages found
Useful functions when working with JSON.
Serialize a JavaScript error to a regular, json stringifiable object, and deserialize an object into an error.
JSON.parse but returns Map instead of Object
Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
Super simple and non-recursive JSON parse/stringify library
JSON reviver, allowing named functions and their parameters to be replaced by their output values
Rewrites object and array literals with JSON.parse calls.
serialize and de-serialize any JavaScript data
Super simple and non-recursive merge sort
try to parse json or return undefined
Wrapper to use JSON.parse and JSON.stringify methods, based on serializers
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).
Parse a string as JSON.
Super simple and non-recursive JSON parse/stringify library
json-operations allows you to work with JSON, parse in a standardized way, get tokenize JSON, etc...
Transform environment variables into JSON object with sanitized values.
Use some simple conventions to read process.env into a deeply nested javascript object recognizing arrays and numbers.
A rollup plugin that wraps compatible objects with JSON.parse() to improve performance.