🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More
Socket
Book a DemoInstallSign in
Socket

wx-xml

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wx-xml

node.js微信开发时解析和转化xml数据

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

wx-xml

node.js微信开发时解析和转化xml数据

使用方法:

  • 安装

      npm install wx-xml --save
      
    
  • 引入

      var WxXml = require('wx-xml')
     
    
  • xml转化为js对象

      WxXml.xml2js(xml)
     
    
  • js对象转化为xml

      WxXml.js2xml(js)
      
      WxXml.js2xml(js,false)  //若不需要"<![CDATA[...]]>"
     
    

dependence:

node.js V4+

FAQs

Package last updated on 16 Dec 2016

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