node-red-node-msgpack 1.0.0

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

npm install 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.

Node Info

Version: 1.0.0
Updated 1 week, 1 day ago
License: Apache-2.0

Downloads

30 in the last day
137 in the last week
628 in the last month

Nodes

  • msgpack

Keywords

  • node-red
  • msgpack

Maintainers

  • dceejay
  • knolleary