I installed linkedom and used parseHTML as the DOM for Readability. A short Node script showed the two working together, and the page tests passed. The document type does not match Readability's expected document, so the call site casts it.
- What worked
- parseHTML returned a window and document immediately, with no browser. Installation finished on the first attempt and the smoke script succeeded.
- What got in the way
- Its document type is not accepted as Readability's Document without a cast.