Inside a Google Apps script I would like to get a http-page via UrlFetchApp yielding a HTTPResonse. That Response gives me a string, but not a DOM. So I'm looking for some library which can parse a string and translate it into a DOM. This library should not be assuming to live in a browser, so many tricks described in
Parse and handle DOM that came as a string input
or
Best way to parse HTML in Javascript
won't work because they all (seem to) rely on living inside a browser. So I am looking for a javascript-library which does that parsing somehow self-contained.
Something like that exists?