QXIP / node-red-contrib-bencode

Node-Red Bencode enc/dec pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-red-contrib-bencode

Node-RED function that takes the msg.payload and converts it to/from bencode data.

Installation

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 i node-red-contrib-bencode

Usage

If the input is a buffer it tries to parse it as bencode and creates a javascript object. If the input is a javascript object it tries to serialize it as bencode and creates a buffer.

About

Node-Red Bencode enc/dec pipeline


Languages

Language:JavaScript 72.8%Language:HTML 27.2%