🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

node-red-contrib-json2csv

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-json2csv

A node to convert json to csv

0.0.3
latest
Version published
Maintainers
1
Created

Node-RED Contrib json2csv

Node-RED wrapper to the jsonexport npm module. This allows for conversion of a json input into a csv file, without needing to specify the column headers. The headers are populated automatically, making this node simple to use for JSON data that is generated by apps or read from databases.

Install

Run the following command in the root directory of your Node-RED install:

    npm install node-red-contrib-json2csv

Usage

Input

Set msg.payload to a json stream buffer. The file inject from node-red-contrib-browser-utils works well as input to this node.

Output

msg.payload will be a csv string.

Contributing

For simple typos and fixes please just raise an issue pointing out our mistakes. If you need to raise a pull request please read our contribution guidelines before doing so.

Copyright 2017 IBM Corp. under the Apache 2.0 license.

FAQs

Package last updated on 25 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts