Socket
Book a DemoInstallSign in
Socket

node-red-contrib-fastxml

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-fastxml

A Node-RED node to parse xml strings to json and vice-versa

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
56
107.41%
Maintainers
0
Weekly downloads
 
Created
Source

node-red-contrib-fastxml

A Node-RED node to parse XML strings into JSON and vice-versa.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm i node-red-contrib-fastxml

Usage

A function that converts the msg.payload to and from XML format.

Uses the fast-xml-parser library.

NOTE: it is slightly different from the core XML node in that the default header for tag attributes can be left blank which can help flatten some XML docs, but does mean they can't be recontructed 1 for 1 in that case.

Keywords

node-red

FAQs

Package last updated on 13 Oct 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.