Showing 1-20 of 1,249,474 packages
Parse and stringify JSON with comments. It will retain comments even after saved!
General purpose glob-based configuration matching.
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
stream-json is the micro-library of Node.js stream components for creating custom JSON processing pipelines with a minimal memory footprint. It can parse JSON files far exceeding available memory streaming individual primitives using a SAX-inspired API. I
High-performance JSON Pointer implementation
Run an array of functions in parallel
Simplify your schema by combining allOf into the root schema, safely.
A JS implementation of JSONPath with some additional operators
JSON.parse with context information on error
Converts Zod schemas to Json Schemas
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Utility functions to deal with references in objects
Traverse JSON Schema passing each schema object to callback
Sort an object's keys, including an optional key list
Stringify your JSON at max speed
Like JSONStream, but using Minipass streams
Flatten nested arrays
A tiny (240B to 501B) and fast utility to "deep clone" Objects, Arrays, Dates, RegExps, and more!
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
JSON.parse with bigints support