0.19.1 • Published 9 years ago

whacko v0.19.1

Weekly downloads
1,176
License
-
Repository
github
Last release
9 years ago

Whacko

Build Status npm

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

Install

$ npm install whacko

API

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.

Author

Ivan Nikulin (ifaaan@gmail.com)

0.19.1

9 years ago

0.19.0

9 years ago

0.18.1

10 years ago

0.17.4

10 years ago

0.17.3

10 years ago

0.17.2

10 years ago

0.17.1

10 years ago

0.12.15

11 years ago

0.13.3

11 years ago

0.12.14

11 years ago

0.12.12

11 years ago

0.12.11

11 years ago

0.13.2

11 years ago

0.13.1

11 years ago

0.12.10

11 years ago

0.12.9

11 years ago

0.12.8

11 years ago

0.12.7

11 years ago

0.12.6

11 years ago

0.12.5

11 years ago

0.12.4

11 years ago

0.12.3

11 years ago

0.12.2

11 years ago

0.12.1

11 years ago