innerfuse-json-patcher
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

innerfuse-json-patcher

A JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7396) implementation for JS (Node) using Rust.

This library is built with:

  • Neon for Node bindings

Implementation of the patch and merge alogrithms is provided using json-patch crate.

Installing innerfuse-json-patcher

Installing innerfuse-json-patcher requires a supported version of Node and Rust.

You can install the project with npm.

$ npm install @formbird/innerfuse-json-patcher

This fully installs the project, including installing any dependencies and running the build.

Contributing

Building innerfuse-json-patcher

Make sure you have Rust and wasm-pack installed. From the checked out source, run:

$ npm run build

This command will build native Node bindings and the WASM binary. node:build script can be used to build them individually. The scripts can be appended with :release to build in release mode.

Readme

Keywords

none

Package Sidebar

Install

npm i innerfuse-json-patcher

Weekly Downloads

1

Version

0.7.1

License

MIT OR Apache-2.0

Unpacked Size

44.8 kB

Total Files

11

Last publish

Collaborators

  • weyert