mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
635 B
635 B
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
Usage
Uses the msgpack npm to pack and unpack msg.payload objects to msgpack format buffers.
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.