Public
Edited
Jun 6, 2023
Insert cell
# Node.js - Parsing and manipulating HTML and XML
- [cheerio](https://github.com/cheeriojs/cheerio) - The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
- [jsdom](https://github.com/jsdom/jsdom) - jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js.
Insert cell
Insert cell
cheerio = await import('https://cdn.jsdelivr.net/npm/cheerio@1.0.0-rc.12/+esm')
Insert cell
$ = {
const res = await fetch('https://cheerio.js.org/docs/api')
const text = await res.text()
return cheerio.load(text)
}
Insert cell
$.text()
Insert cell
Insert cell
//
Insert cell
//
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more