Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (12 loc) · 635 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 635 Bytes

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.