Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cheerio fork that uses parse5 as the underlying platform

This branch is 40 commits ahead, 315 commits behind cheeriojs:master


Build Status npm

Whacko is a fork of cheerio that uses parse5 as an underlying platform.


$ npm install whacko


Difference with cheerio:

  • Use $.load(content) to load HTML documents (e.g. missing <html> tags will be automatically emitted in this case).
  • Use $(content) to create HTML-fragments which can be later added to the loaded document.
  • Parser options (e.g. xmlMode and normalizeWhitespace) are missing since whacko is intended for spec compliant HTML parsing.
  • New parser option encodeEntities added. When false, it disables HTML entities decoding on serialization.
  • New parser option decodeHtmlEntities added. When false, it disables HTML entities decoding on parse.

In all other aspects it is the same with the cheerio API.

Questions or suggestions?

If you have any questions, please feel free to create an issue here on github.


Ivan Nikulin (

Something went wrong with that request. Please try again.