New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

xson-lib

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xson-lib

json to xml to json convert

latest
Source
npmnpm
Version
0.1.6
Version published
Maintainers
1
Created
Source

XML JSON 互相转换

无任何库依赖 没有 xml 有效性验证, 错误的 json 会生成错误的 xml 错误的 xml 会生成无效的 json

Install

npm install --save xson-lib

Usage

var xson = require('xson-lib');

var json = xson.toJson(xml_string);
var json_string = json.stringify(json);

var xml  = xson.toXml(json_jsonstring, beautifier[bool])

FAQs

Package last updated on 14 Feb 2023

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