fast-xml-parser
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "fast-xml-parser", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Parse XML to JS/JSON very fast without C/C++ based libraries", | ||
"main": "index.js", | ||
"main": "./lib/parser.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "jasmine spec/*spec.js", | ||
"coverage": "istanbul cover jasmine --captureExceptions spec/*spec.js", | ||
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 90 --statement 90" | ||
}, | ||
@@ -22,4 +24,10 @@ "repository": { | ||
], | ||
"author": "Amit Gupta", | ||
"license": "MIT" | ||
"author": "Amit Gupta (https://github.com/amitguptagwl)", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"coveralls": "^2.11.15", | ||
"istanbul": "^0.4.5", | ||
"jasmine": "^2.5.3", | ||
"jasmine-core": "^2.5.2" | ||
} | ||
} |
@@ -1,4 +0,20 @@ | ||
# fast-xml-parser | ||
# [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser) | ||
Parse XML to JS/JSON very fast without C/C++ based libraries and no callback | ||
[![Code Climate](https://codeclimate.com/github/NaturalIntelligence/fast-xml-parser/badges/gpa.svg)](https://codeclimate.com/github/NaturalIntelligence/fast-xml-parser) [<img src="https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_92x26.png" alt="Stubmatic donate button"/>](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KQJAX48SPUKNC) [![Known Vulnerabilities](https://snyk.io/test/github/naturalintelligence/fast-xml-parser/badge.svg)](https://snyk.io/test/github/naturalintelligence/fast-xml-parser) [![Travis ci Build Status](https://travis-ci.org/NaturalIntelligence/fast-xml-parser.svg?branch=master)](https://travis-ci.org/NaturalIntelligence/fast-xml-parser) [![Coverage Status](https://coveralls.io/repos/github/NaturalIntelligence/fast-xml-parser/badge.svg?branch=master)](https://coveralls.io/github/NaturalIntelligence/fast-xml-parser?branch=master) | ||
### How to use | ||
**Installation** | ||
`$npm install fast-xml-parser` | ||
or using [yarn](https://yarnpkg.com/) | ||
`$yarn add fast-xml-parser` | ||
**Usage** | ||
```js | ||
var fastXmlParser = require('fast-xml-parser'); | ||
var jsonObj = fastXmlParser.parse(xmlData); | ||
``` | ||
**Give me a [star](https://github.com/NaturalIntelligence/fast-xml-parser)**, if you really like this project. | ||
I decided to created this library when I couldn't find any library which can convert XML data to json without any callback and which is not based on any C/C++ library. | ||
@@ -16,2 +32,5 @@ | ||
**Benchmark report** | ||
![npm_xml2json_compare](https://cloud.githubusercontent.com/assets/7692328/22402086/7526a3a6-e5e2-11e6-8e6b-301691725c21.png) | ||
Don't forget to check the performance report on [comparejs](https://naturalintelligence.github.io/comparejs/?q=xml2json). | ||
@@ -22,1 +41,12 @@ | ||
Report an issue or request for a feature [here](https://github.com/NaturalIntelligence/fast-xml-parser/issues) | ||
Your contribution in terms of donation, testing, bug fixes, code development etc. can help me to write fast algorithms. | ||
[<img src="https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_92x26.png" alt="Stubmatic donate button"/>](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KQJAX48SPUKNC) | ||
Some of my other NPM pojects | ||
- [stubmatic](https://github.com/NaturalIntelligence/Stubmatic) : A stub server to mock behaviour of HTTP(s) / REST / SOAP services. Stubbing redis is on the way. | ||
- [compare js](https://github.com/NaturalIntelligence/comparejs) : comparethe featues of JS code, libraries, and NPM repos. | ||
- [fast-lorem-ipsum](https://github.com/amitguptagwl/fast-lorem-ipsum) : Generate lorem ipsum words, sentences, paragraph very quickly. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
34992
7
115
1
51
4
1