Skip to content
Browse files

Adding ;s to example. Coffeescript addict

  • Loading branch information...
1 parent 019e09d commit b8d121b93a864e5a8a15a5decf985e67ef854753 @evanderkoogh evanderkoogh committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.md
View
4 readme.md
@@ -34,7 +34,7 @@ Converts xml elements into JavaScript objects.
### From a stream
var xml2object = require('xml2object');
- var request = require('request')
+ var request = require('request');
// Create a new xml parser with an array of xml elements to look for
var parser = new xml2object(null, [ 'animal' ]);
@@ -50,7 +50,7 @@ Converts xml elements into JavaScript objects.
console.log('Finished parsing xml!');
});
- request.get('http://www.example.com/test.xml').pipe(parser.saxStream)
+ request.get('http://www.example.com/test.xml').pipe(parser.saxStream);
## Module

0 comments on commit b8d121b

Please sign in to comment.
Something went wrong with that request. Please try again.