cheerio
npmv1.2.0TypeScriptThe fast, flexible & elegant library for parsing and manipulating HTML and XML.
Overview
cheerio is an npm package that the fast, flexible & elegant library for parsing and manipulating HTML and XML. The latest version is 1.2.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need the fast, flexible & elegant library for parsing and manipulating HTML and XML and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (38 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of cheerio.
Dependencies
Runtime (11)
Dev (27)
Used by
Popular packages that depend on cheerio.
An AST-based pattern checker for JavaScript.
Mongoose MongoDB ODM
Next-gen browser and mobile automation test framework for Node.js
libSQL Wasm packaged as an ES module.
render domhandler DOM nodes to a string
Alternatives to cheerio
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
render domhandler DOM nodes to a string
A per-spec XML serializer implementation
A JavaScript implementation of many web standards
JavaScript parser and stringifier for YAML
Utility to parse a string bytes to bytes and vice-versa
Range header field string parser
Escape string for use in HTML
A modern CSS parser and stringifier with TypeScript support
Lightweight browser detector
Parses set-cookie headers into objects
WebAssembly binary format parser
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
the most correct and second fastest glob implementation in JavaScript
Prettier is an opinionated code formatter
A high-level API to control headless Chrome over the DevTools Protocol
Runtime typescript and ESM support for Node.js
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
Tiny millisecond conversion utility
TypeScript definitions for estree
ECMAScript scope analyzer for ESLint
Fast deep equal
Version history
| Version | Published | License |
|---|---|---|
| 1.2.0latest | 5 months ago | MIT |
| 1.1.2 | 1 year ago | MIT |
| 1.1.1 | 1 year ago | MIT |
| 1.1.0 | 1 year ago | MIT |
| 1.0.0 | 1 year ago | MIT |
| 1.0.0-rc.12 | 4 years ago | MIT |
| 1.0.0-rc.11 | 4 years ago | MIT |
| 1.0.0-rc.10 | 5 years ago | MIT |
| 1.0.0-rc.9 | 5 years ago | MIT |
| 1.0.0-rc.8 | 5 years ago | MIT |
| 1.0.0-rc.7 | 5 years ago | MIT |
| 1.0.0-rc.6 | 5 years ago | MIT |
| 1.0.0-rc.5 | 5 years ago | MIT |
| 1.0.0-rc.4 | 5 years ago | MIT |
| 1.0.0-rc.3 | 7 years ago | MIT |
| 1.0.0-rc.2 | 9 years ago | MIT |
| 1.0.0-rc.1 | 9 years ago | MIT |
| 0.22.0 | 10 years ago | MIT |
| 0.20.0 | 10 years ago | MIT |
| 0.19.0 | 11 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install cheerio?
Run `npm install cheerio` to add cheerio to your npm project.
What license is cheerio released under?
cheerio is distributed under the MIT license.
How popular is cheerio?
cheerio has approximately 0 downloads per week and 4 known dependent packages.