Download Latest Version v1.1.2 source code.tar.gz (395.3 kB)
Email in envelope

Get an email when there's a new version of Cheerio

Home / v1.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-08-09 2.1 kB
v1.0.0 source code.tar.gz 2024-08-09 310.4 kB
v1.0.0 source code.zip 2024-08-09 345.0 kB
Totals: 3 Items   657.6 kB 0

Cheerio 1.0 is here! 🎉

Announcement Blog Post

Breaking Changes

Before, it was possible to write code like this:

```ts import cheerio, { html } from 'cheerio';

html(cheerio('<test></test>')); // ~ '<test></test>' -- NO LONGER WORKS ```

Make sure to always load documents first:

```ts import * as cheerio from 'cheerio';

cheerio.load('<test></test>').html(); ```

ts const $ = cheerio.load('<html>', { xml: { withStartIndices: true, }, });

New Features

Fixes

Other

Full Changelog: https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.12...v1.0.0

Source: README.md, updated 2024-08-09