Having a synchronous version makes some operations in
client libraries easier.
Add parseFileSync and parseStringSync.
The parser doesn't do I/O, therefore it is unnecessary that it runs asynchronously by default. Actually, all you need to do is to remove the setTimeout(…, 0) in SaxParser.prototype.parseString.
Removed the setTimeout all together.