Skip to content
WHATWG HTML5 specification-compliant, fast and ready for production HTML parsing/serialization toolset for Node.js
JavaScript
Latest commit d717bf5 Jun 14, 2016 @RReverser RReverser committed with Generate feedback tests (#138)
* Simplify testing of parser feedback; fix chunked processing.

Adds task for generation of parser feedback tests in HTML5Lib
tokenization format, so that they can be readable and reusable
instead of generating them in runtime.

Since it's now in the same format as regular tokenization tests,
merged parser_feedback_test logic into tokenizer_test (this
required only extra parameter to be passed around the runner).

Additionally this helped to test parser feedback with chunked
input and identify & fix an error related to extraneous
newlines after hibernation.

* Add pregenerated parser feedback tests.

Added them in a separate commit for cleaner diffs and easier review.

README.md

parse5

WHATWG HTML5 specification-compliant, fast and ready for production HTML parsing/serialization toolset for Node.js

Build Status NPM Version Downloads Downloads total

parse5 provides nearly everything you may need when dealing with HTML. It's the fastest spec-compliant HTML parser for Node to date. It parses HTML the way the latest version of your browser does. It has proven itself reliable in such projects as jsdom, Angular2, Polymer and many more.


Documentation

Version history

Online playground

Issue tracker

Something went wrong with that request. Please try again.