Gathering detailed insights and metrics for cxml-util-rc
Gathering detailed insights and metrics for cxml-util-rc
npm install cxml-util-rc
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
548
Last Day
1
Last Week
1
Last Month
11
Last Year
134
2 Commits
1 Watchers
1 Branches
1 Contributors
Updated on May 20, 2022
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
cxml-util-rc@1.0.0
Unpacked Size
4.73 kB
Size
2.02 kB
File Count
3
NPM Version
6.14.15
Node Version
14.17.6
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-50%
1
Compared to previous week
Last Month
22.2%
11
Compared to previous month
Last Year
-53.3%
134
Compared to previous year
1
Convert XML text to Javascript object / JSON text.
<a/><b/><a/> to {a:[{},{}],b:{}}
which merges any node of same name into an array. This library can create the following to preserve the order of elements: {"elements":[{"type":"element","name":"a"},{"type":"element","name":"b"},{"type":"element","name":"a"}]}
.npm install --save cxml-util-rc
var {formatCXML} = require('cxml-util-rc');
var cXml = "<cProd> testeando </cProd>";
var result = formatCXML(cXml);
console.log(result);
import {formatCXML} from "cxml-util-rc";
var cXml = "<cProd> testeando </cProd>";
var result = formatCXML(cXml);
console.log(result);
<a/><b/><a/>{a:[{},{}],b:{}}{"elements":[{"type":"element","name":"a"},{"type":"element","name":"b"},{"type":"element","name":"a"}]}
npm install --save cxml-util-rc
var {formatCXML} = require('cxml-util-rc');
var cXml = "<cProd> testeando </cProd>";
var result = formatCXML(cXml);
console.log(result);
import {formatCXML} from "cxml-util-rc";
var cXml = "<cProd> testeando </cProd>";
var result = formatCXML(cXml);
console.log(result);
No vulnerabilities found.
No security vulnerabilities found.