@polywrap/msgpack-js
v0.12.2@polywrap/msgpack-js
TypeScript / JavaScript implementation of the WRAP MsgPack encoding standard.
Usage
import { msgpackEncode, msgpackDecode } from "@polywrap/msgpack-js";
const test = {
foo: 5,
bar: [true, false],
baz: {
prop: "value"
}
};
const encoded: Uint8Array = msgpackEncode(test);
const decoded = msgpackDecode(encoded);
expect(decoded).toEqual(test);
npm i @polywrap/msgpack-js
Source Code
github.com/polywrap/javascri...Metadata
- MIT
- Whatever
- Unknown
- released 8/21/2023