0.0.10 • Published 3 years ago

sa-html-parser v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

sa-html-parser

sa-html-parser is a parser designed for HTML code static analysis.

Install

  • npm

    yarn add sa-html-parser
  • yarn

    npm install sa-html-parser

Usage

import { parse } from "sa-html-parser";

const root = parse("<html><body><div id='foo'></div></bod></html>");

root;
// {
//    type: "Root",
//    children: [ ... ],
//    start: 0,
//    end: 45,
//    ...
// }
//

License

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3-beta.1

3 years ago

0.0.3-beta.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago