node-red-nodes/parsers/msgpack
Sam Machin 2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
..
icons add some icon love to extra parser nodes 2018-02-08 15:52:30 +00:00
70-msgpack.html Move base64, msgpack, and markdown nodes to parser category 2020-02-25 17:41:45 +00:00
70-msgpack.js update rest of parsers to allow property to be selected 2018-01-31 11:18:30 +00:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
README.md Move msg pack node to more supported lib msgpack-lite 2017-08-09 16:58:15 +01:00
package.json Update package.jsons for mono-repo (#851) 2021-11-02 15:22:30 +00:00

README.md

node-red-node-msgpack

A Node-RED node to pack and unpack objects to msgpack format buffers.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-msgpack

Changes

Version 1.0.0 - move to msgpack-lite library (more supported and faster) - This uses the more recent msgpack specification so please ensure all your endpoints are also using the latest spec.

Usage

Uses the msgpack-lite npm to pack and unpack msg.payload objects to msgpack format buffers.

Note: this node does not currently encode raw buffer types. It will automatically try to decode any buffer received, and may not cause an error.

If the input is NOT a buffer it converts it into a msgpack buffer.

If the input is a msgpack buffer it converts it back to the original type.