Fast parser of a html string and lot of options.
npm install fast-html-dom-parserhtml
`
Node
`js
const { FastHTMLParser } = require('./fast-html-dom-parser.js');
const { FastHTMLParser } = require('fast-html-dom-parser');
`
📚 API
---
$3
`js
//here html is a string of you html code
//Browser
const document = new FastHTMLParser(html);
//Node
const document = new FastHTMLParser(html);
//example
document.getElementById('test').getElementsByTagName('div')[0].getAttribute('class');
``