yizhi-html-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

HTML解析器

解析HTML为dom树

使用

//导入库
import { HTMLParser } from 'yizhi-html-parser'
//创建解析器
const parser = new HTMLParser('<div>xxxxxxx</div>')
//解析之后得到一个文档
const result = parser.parse()

Readme

Keywords

Package Sidebar

Install

npm i yizhi-html-parser

Weekly Downloads

20

Version

1.0.8

License

ISC

Unpacked Size

21.3 kB

Total Files

10

Last publish

Collaborators

  • yizhi