mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
2d2e95c747
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jamie Magee <jamie.magee@gmail.com> Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
5 lines
132 B
TypeScript
5 lines
132 B
TypeScript
import { JSDOM } from 'jsdom';
|
|
|
|
export function parse(html: string): HTMLElement {
|
|
return new JSDOM(html).window.document.body;
|
|
}
|