html-tags-parser
v1.0.0
Published
a simple html parser.
Downloads
9
Maintainers
Readme
SIMPLE HTML PARSER
a simple html parser.
Usage :
const htmlParser = require('html-tags-parser')
const elements = htmlParser()
returns a array of elements objects
interface HTMLElement {
name : string,
innerHtml?: string,
outerHtml: string,
properties: object[],
children?: HTMLElement[],
}