You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

xml-query

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-query - npm Package Compare versions

Comparing version

to
1.3.1

2

package.json
{
"name": "xml-query",
"version": "1.3.0",
"version": "1.3.1",
"description": "Super small library to retrieve values and attributes from the XML AST generated by xml-reader",

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

@@ -31,2 +31,4 @@ # XML Query

```javascript
const XmlReader = require('xml-reader');
const xml =

@@ -40,9 +42,3 @@ `<message id="1001" date="2016-06-19">

const reader = xmlReader.create();
reader.on('done', ast => {
// do something with the ast
});
reader.parse(xml);
const ast = XmlReader.parseSync(xml);
```

@@ -49,0 +45,0 @@