Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding ;s to example. Coffeescript addict

  • Loading branch information...
commit b8d121b93a864e5a8a15a5decf985e67ef854753 1 parent 019e09d
@evanderkoogh evanderkoogh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.