Closed
Description
Is there a way to pipe a file into parse5 (this feature is available in htmlparser2).
similarly, is there a way to pause / resume the sax parser ? I believe that the getNextToken
method could be used to decide when the parsing should pause/resume.
I have been using the html-tokenize
streaming parser lately and its suite (html-select
, trumpet
) but reaching html5 conformity on html-tokenize
is still a long way to go so I am trying to see how parse5 could fit in and be used with html-select