Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit 6a202d6

Browse files
committed
blah
1 parent d80fb05 commit 6a202d6

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# XML to JSON converter
2+
3+
## Use
4+
```javascript
5+
var parser = require('xml2json');
6+
7+
var xml = "<foo>bar</foo>"
8+
var json = parser.toJson(xml);
9+
console.log(json);
10+
```
11+
12+
## License
13+
Copyright 2011 BugLabs Inc. All rights reserved.

test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fs.readdir(fixturesPath, function(err, files) {
2828
}
2929

3030
assert.deepEqual(result, expected, jsonFile + ' and ' + file + ' are different');
31+
console.log('All tests passed!');
3132
}
3233
}
3334
});

0 commit comments

Comments
 (0)