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.html
file using a web browser (Only tested using Brave browser) - Paste your JSON into the first two text areas and click
Pack
to see the result.