num-record-packer-client
v1.0.11
Published
A JSON to JSON mapper in TypeScript for compacting NUM objects according to an unpacker spec.
Readme
TypeScript NUM Record Packer Client
This program takes a JSON object and convertes it to a more compact JSON object using a mapping specification, also written as JSON.
There are some examples of how to use the packer in the test directory.
Running the example code in a web browser
- Clone the repository.
- Run
npm install -g webpack - Run
npm install -g webpack-cli - Run
npm install - Open the
test/index.htmlfile using a web browser (Only tested using Brave browser) - Paste your JSON into the first two text areas and click
Packto see the result.
