What is jsdom? Facts and alternatives
github.com
jsdom is a JavaScript implementation of web standards (DOM, HTML) for Node.js, without a real browser.
Visit github.com ↗Code on GitHub ↗Alternatives ↓
What it is
| Product | Category | Price | Rating |
|---|---|---|---|
| Parsing and extraction 21 | Freeopen source | 73 4 facts |
3 facts, each linked to its page. Category: tools we compare. Rating: our formula.
Facts
Spec facts 3 · 12 not listed yet
| Where it runs 1 | |
|---|---|
| Code licence | MIT |
| Code 2 | |
| Written in | JavaScript |
| Latest release | V31.0.1, 13 Novyear not shown on page |
12 spec facts not listed on the company's pages yet. Seen one? Send us a source.
Who says what
What jsdom says about itself
We found no page where jsdom sums itself up.
What jsdom says about others
No claims by jsdom about others yet.
What others say about jsdom
Speed 1
| Who | Main claim | Source |
|---|---|---|
| JSDOM is 30-50% slower than Cheerio but 2-3x faster than full browser solutions.“Performance metrics: Fast (30-50% slower than Cheerio, but 2-3x faster than browser solutions).” |
Features 4
| Who | Main claim | Source |
|---|---|---|
| JSDOM needs no browser and uses 20-60MB of memory for typical operations.“Memory consumption: Low (20-60MB for typical operations).” | ||
| jsdom builds a full Window and Document DOM that can be queried like a browser console.“jsdom parses HTML into a full Window and Document object, queryable much like a browser's DevTools console queries a live page.” | ||
| JSDOM is not a full browser and does not implement every web API.“Not a full browser and does not implement every web API” | ||
| jsdom emulates a real browser, so it runs JavaScript and supports DOM manipulation.“jsdom parses web pages as HTML in headless browsing mode and emulates a real browser for JavaScript support and DOM manipulation.” |
Their own tests 1
| Who | Main claim | Source |
|---|---|---|
| In a 100-run test, Cheerio averaged 300.95 ms to extract content; jsdom averaged 517.16 ms.“Cheerio outperformed jsdom, averaging 300.95 milliseconds. It took jsdom an average of 517.16 milliseconds to extract the same content.” |
Other 1
| Who | Main claim | Source |
|---|---|---|
| jsdom has about 10.8 million GitHub users, Cheerio 1.3 million.“jsdom polling 10.8 million users” |
These are the companies' own claims, each linked to its page. A company name opens both sides.
Alternatives
The closest tools from other companies, and how each differs on facts from their own pages. Not a ranking: the scrapenews rating lives in the compare tables.
| Tool | Price | How it differs |
|---|---|---|
| Free | They differ on 2 of 2 points we have facts for on both. Also different: licence, latest release. | |
| Free | They differ on 1 of 2 points we have facts for on both. Also different: latest release. | |
| Free | They differ on 1 of 1 point we have facts for on both. Also different: licence. |
Related
- Fake data for scrapers Guide
- How to scrape a website Guide