{"library":"algorand-msgpack","type":"library","category":null,"description":"This library, `algorand-msgpack`, is a TypeScript/JavaScript implementation of the MessagePack binary serialization format, currently at version 1.1.0. It's a fork of the popular `@msgpack/msgpack` library, maintaining a similar API but introducing several key enhancements. These include improved BigInt support that allows for greater interoperability with other MessagePack implementations by not solely encoding BigInts as int64/uint64, and the ability to decode raw strings as `Uint8Array`s to handle non-UTF-8 encoded strings. Additionally, it provides support for number and binary map keys within JavaScript Maps. The most recent significant update in v1.1.0 introduced the `RawBinaryString` class, enabling encoding byte arrays as MessagePack strings and offering corresponding decoding options. While it doesn't have a strict release cadence, updates appear to be driven by the needs of the Algorand ecosystem. It's designed to be a universal library, compatible with Node.js (v14 and above) and browser environments, and ships with comprehensive TypeScript type definitions.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","msgpack","MessagePack","serialization","universal","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install algorand-msgpack","imports":["import { encode } from 'algorand-msgpack'","import { decode } from 'algorand-msgpack'","import { RawBinaryString } from 'algorand-msgpack'"]},{"cmd":"yarn add algorand-msgpack","imports":[]},{"cmd":"pnpm add algorand-msgpack","imports":[]}],"homepage":"https://msgpack.org/","github":"https://github.com/algorand/msgpack-javascript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/algorand-msgpack","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/algorand-msgpack/compatibility"}}