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