1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/parsers/smaz
2019-09-20 21:22:14 +01:00
..
icons Add SMAZ node (for simple text compression) 2019-05-20 19:33:37 +01:00
70-smaz.html Tidy datagenerator, random and smaz nodes 2019-09-20 21:22:14 +01:00
70-smaz.js Add SMAZ node (for simple text compression) 2019-05-20 19:33:37 +01:00
LICENSE Add SMAZ node (for simple text compression) 2019-05-20 19:33:37 +01:00
package.json Tidy datagenerator, random and smaz nodes 2019-09-20 21:22:14 +01:00
README.md Tidy datagenerator, random and smaz nodes 2019-09-20 21:22:14 +01:00
smaz.js A whole bunch of whitespace linting - no functional changes 2019-08-11 13:37:15 +01:00

node-red-node-smaz

A Node-RED node to pack and unpack strings to smaz format buffers.

Install

Either use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-smaz

Usage

Uses a smaz library to pack and unpack short strings to small buffers.

Note: this node ONLY accepts strings - anything else will just be dropped.

If the input is a string it converts it into a smaz buffer.

If the input is a smaz buffer it converts it back to the original string.