abell123456 / AST-

收集业界AST解析相关实现,含:HTML/JS/CSS/JSON/MARKDOWN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AST业界实现收集整理

HTML

介绍 基于htmlparser2,支持JSX语法解析的html parser。

文档 https://github.com/abell123456/htmlparser3

介绍 HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.

文档 http://inikulin.github.io/parse5/

介绍 Tiny, fast, and elegant implementation of core jQuery designed specifically for the server.

文档 https://cheerio.js.org/

介绍 Fast & forgiving HTML/XML/RSS parser.

文档 https://github.com/fb55/htmlparser2

介绍 Highly configurable, well-tested, JavaScript-based HTML minifier.

文档 https://github.com/kangax/html-minifier

介绍 Forgiving HTML/XML/RSS Parser in JS for both Node and Browsers.

文档 https://github.com/tautologistics/node-htmlparser

介绍 An evented streaming XML parser in JavaScript.

文档 https://github.com/isaacs/sax-js

介绍 A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).

文档 https://github.com/jindw/xmldom

介绍 Server-side DOM implementation based on Mozilla's dom.js.

文档 https://github.com/fgnass/domino

JavaScript

介绍 A JavaScript parser.

文档 https://babeljs.io/

介绍 ECMAScript parsing infrastructure for multipurpose analysis

文档 http://esprima.org/

介绍 An Esprima-compatible JavaScript parser built on Acorn

文档 https://github.com/eslint/espree

介绍 A tiny, fast JavaScript parser, written completely in JavaScript.

文档 github.com/ternjs/acorn

介绍 JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator.

文档 https://github.com/benjamn/recast

CSS

介绍 ESQuery is a library for querying the AST output by Esprima for patterns of syntax using a CSS style selector system.

文档 http://estools.github.io/esquery/

介绍 ICSS utils for postcss ast.

文档 https://github.com/css-modules/icss-utils

介绍 Fast detailed CSS parser.

文档 https://csstree.github.io/docs/

markdown

介绍 A markdown parser built for speed.

文档 https://github.com/chjj/marked

介绍 A sensible Markdown parser for javascript.

文档 github.com/evilstreak/markdown-js

JSON

介绍 A modern JSON implementation compatible with nearly all JavaScript platforms.

文档 https://bestiejs.github.io/json3/

About

收集业界AST解析相关实现,含:HTML/JS/CSS/JSON/MARKDOWN