msgpack-javascript
msgpack-javascript copied to clipboard
@msgpack/msgpack - MessagePack for JavaScript / msgpack.org[JavaScript/TypeScript/ECMA-262]
Hi, I am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. We are using map(integer: any) to transfer messages. However, this lib only packs...
Attempting to install using the prescribed command on windows fails without much help and a bizarre error message. ` npm install @msgpack/msgpack (node:18164) [DEP0111] DeprecationWarning: Access to process.binding('crypto') is deprecated....
Hello, when I packaged "number", I could not package "int64". After I checked the source code, I changed "`Number.isSafeInteger(object)`" to "`object.toString().indexOf('.')
If I run the following test program with msgpack-javascript 2.1.0: ``` import { encode, decode } from "@msgpack/msgpack" const map = new Map() map.set("a", 1) map.set("b", 2) map.set("c", 3) const...
I'm using msgpack to transmit objects with a fixed schema, so it feels wasteful to encode the property names with each payload. Is there some way to provide some schema...
Addresses #172
The readme says that encoding is 20% faster when reusing an `Encoder` instance. If that's the case, is there any reason not to just memoize them in `encode` (or at...
Hi, Well this is more a question than an issue :) Is there any auto generation solution for cross platform? For example, say my server is written in c# (.NET)...
https://github.com/yahoo/serialize-javascript is used to exchange structured data within workers and processes, which can serialize `RegExp`, `undefined`, `Map`, `Set`, and so on. I believe replacement from serialize-javascript to msgpack could boost...
```ps yarn add @msgpack/msgpack ``` ```ts import { encode, decode } from '@msgpack/msgpack' ```` It prompts "Cannot find module '@msgpack/msgpack'. Did you mean to set the 'moduleResolution' option to 'node',...