compressed-binary-json-patch

npm version Build Status Coverage Status devDependency Status devDependency Status

Pack and unpack objects and compress them by substituting known keys in the object. When packing a json patch is generated, a previous state of the object can be provided, and it is converted to binary using msgpack. Unpacking applies this process in reverse.

Installation

npm install --save @arjanfrans/compressed-binary-json-patch

Usage

See tests.