A light weight html parser and more.
Usage
const fs = const HtmlParser = const RawHtmlParser = HtmlParserRawHtmlParser // HtmlParser will parse html to nodes tree,somehow like dom tree// so you can iterate the tree to get info like textContent, attrs...let parser = let html = fslet rootNode = parser console // RawHtmlParser is the base of HtmlParser.// If you use RawHtmlParser, you must implement the scanner.parser = // the for methods must be implemented yourself scanner: { tagName = tagName // your logic } {} {} {} parser