component/wiki — pull request #1 by guille (2012-09-16 05:36:19+00:00)
Title: Replace jsdom with cheerio

- Added handling main request socket errors
- Replaced `jsdom`, which was adding a closure, with simpler `jquery`
- Removed bad `throw`
- Added handling `component.json` requests socket errors

In addition to the cleanup, cheerio is faster than jsdom at parsing:

> Preliminary end-to-end benchmarks suggest that cheerio is about 8x faster than JSDOM.