xml-twig 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ npm install sax
|
|
|
33
33
|
npm install node-expat
|
|
34
34
|
|
|
35
35
|
```
|
|
36
|
-
In my tests I parsed a 750 MB big XML file, the `node-expat` is around times faster than `sax` (node-expat: 2:20 Minutes, sax: 4:
|
|
36
|
+
In my tests I parsed a 750 MB big XML file, the `node-expat` is around two times faster than `sax` (node-expat: 2:20 Minutes, sax: 4:20 Minutes). However, you may run into problems when you try to install the `node-expat` parser. That's the reason why underlying parsers are not installed automatically.
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## How to use it
|
package/package.json
CHANGED
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
},
|
|
5
5
|
"name": "xml-twig",
|
|
6
6
|
"description": "Node module for processing huge XML documents in tree mode",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.3",
|
|
8
8
|
"main": "twig.js",
|
|
9
9
|
"directories": {
|
|
10
10
|
"doc": "doc"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"luxon": "^2.1.1"
|
|
13
|
+
"luxon": "^2.1.1",
|
|
14
|
+
"sax": "^1.3.0",
|
|
15
|
+
"node-expat": "^2.4.0"
|
|
14
16
|
},
|
|
15
17
|
"scripts": {
|
|
16
18
|
"test": "node demo.js"
|