felid-xml

A Felid.js plugin for parsing XML body

Usage no npm install needed!

<script type="module">
  import felidXml from 'https://cdn.skypack.dev/felid-xml';
</script>

README

felid-xml

npm version Build Status JavaScript Style Guide

A Felid plugin for parsing XML request body.

Install

npm install felid-xml

or

yarn add felid-xml

Usage

const Felid = require('felid')
const xml = require('felid-xml')

const app = new Felid()
app.plugin(xml, options)

Options

  • types String|Array: The content-type using this parser. Default is ['text/xml', 'application/xml'].

For more options, please check fast-xml-parser.

License

MIT