mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Move msg pack node to more supported lib msgpack-lite
This commit is contained in:
@@ -10,11 +10,19 @@ Run the following command in your Node-RED user directory - typically `~/.node-r
|
||||
|
||||
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 <a href="https://www.npmjs.org/package/msgpack">msgpack npm</a> to pack and unpack msg.payload objects to <a href="http://msgpack.org/">msgpack</a> format buffers.
|
||||
Uses the <a href="https://www.npmjs.org/package/msgpack-lite">msgpack-lite npm</a> to pack and unpack msg.payload objects to <a href="http://msgpack.org/">msgpack</a> format buffers.
|
||||
|
||||
**Note**: this node does not currently encode raw <code>buffer</code> 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.
|
||||
|
||||
|
Reference in New Issue
Block a user