1.0.1 • Published 4 years ago

felid-xml v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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