WriteApps
Open source developer tools

JavaScript and TypeScript JSON tools

Dependency-light JavaScript and TypeScript libraries for comparing, locating, and transforming JSON data.

Published on npm

Libraries

github.com/GarAlex

json-compass

v0.1.3

Compare JSON values and locate paths in formatted JSON text.

  • RFC 6901 paths
  • Line and column lookup
  • Zero runtime dependencies

json-change-order

v0.1.0

Create compact, serializable instructions and apply them immutably.

  • Serializable changes
  • Immutable application
  • TypeScript declarations

Interactive demos

1
json-change-order

Generate a change order

Start with the original sample and edit it. The change order updates live as you make changes.

0 changes
JSON document
Loading editor...
Generated change order
{}
Functions used
createChangeOrder()applyChangeOrder()compareJson()