1.0.0 • Published 3 years ago

html-tags-parser v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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[],
}