0.0.10 • Published 2 years ago

sa-html-parser v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3-beta.1

2 years ago

0.0.3-beta.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago