This package is designed to serialize and hash unsigned zome call input with minimal code.
See docs/API.md for detailed API References
- Developed using Node.js
v18.14.2
- Enter
nix develop
for development environment dependencies.
No build is required for Node.
Bundling with Webpack is supported for web
npx webpack
Other msgpack libraries that did not work
msgpack-lite
- barely reduced the compressed size (57kb -> 54kb)tiny-msgpack
- serialized result was slightly different (last 8 bits)@ygoe/msgpack
- serialized result was very different (approx. 80% different)
To run all tests with logging
make test-debug
make test-integration-debug
- Integration tests only
NOTE: remove
-debug
to run tests without logging