Socket
Socket
Sign inDemoInstall

express-xml-parser

Package Overview
Dependencies
8
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

2

index.js

@@ -17,3 +17,3 @@ var parse = require('xml2js').parseString;

if (err) return next(err);
req.xmlBody = result;
req.body = result;
next();

@@ -20,0 +20,0 @@ });

{
"name": "express-xml-parser",
"version": "0.0.2",
"version": "0.0.3",
"description": "express middleware to parse xml data",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,2 +24,5 @@ # express-xml-parser

app.use(xmlBodyParser(options));
app.post('/xml', function(req, res) {
// req.body is a xml-json
});
```
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc