A Felid plugin for parsing XML request body.
npm install felid-xml
or
yarn add felid-xml
const Felid = require('felid')
const xml = require('felid-xml')
const app = new Felid()
app.plugin(xml, options)
- types String|Array: The content-type using this parser. Default is
['text/xml', 'application/xml']
.
For more options, please check fast-xml-parser.