New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koa-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

koa-xml

XML request body parser for Koa

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
78
decreased by-40.46%
Maintainers
1
Weekly downloads
 
Created
Source

koa-xml

Node version NPM version Build Status bitHound Score bitHound Dependencies license

XML request body parser for koa

Usage

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 parse options

Uses xml2js see all available [options] (https://github.com/Leonidas-from-XIV/node-xml2js#options)

Supported methods: POST, PUT, PATCH, and TRACE.

Supported Content-Type: application/xml

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Maintaners

License

koa-xml is released under the MIT License.

Keywords

FAQs

Package last updated on 25 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc