【文件属性】:
文件名称:koa-xml:Koa的XML请求主体解析器
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-03 17:40:54
koa node xml KoaJavaScript
koa-xml
用于Koa的XML请求主体解析器
用法
npm install --save koa-xml
const koa = require ( 'koa' )
const xml = require ( 'koa-xml' )
const options = {
normalize : true ,
firstCharLowerCase : true ,
explicitArray : false ,
ignoreAttrs : true
}
app . use ( xml ( options ) )
XML解析选项
使用查看所有可用的[选项]( )
支持的方
【文件预览】:
koa-xml-master
----.eslintrc(1KB)
----lib()
--------xml.js(374B)
----.codeclimate.yml(67B)
----.travis.yml(106B)
----test()
--------index.spec.js(2KB)
----README.md(2KB)
----.gitignore(106B)
----index.js(376B)
----.eslintignore(56B)
----package.json(1KB)