Parse html on top of xmldom and htmlparser2
npm install htmldom2Parsing html on top of xmldom and htmlparser2
``js
const source =
;
const { DOMParser } = require('htmldom2');
const document = new DOMParser().parseFromString(source, 'text/html');
``