hast-util-from-dom

DOM to hast converter

Transforms a DOM tree into a hast syntax tree

utility to transform a DOM tree to hast

GitHub

22 stars
9 watching
4 forks
Language: JavaScript
last commit: over 1 year ago
domhasthast-utilhtmlsyntax-treeunistutil

Related projects:

Repository Description Stars
syntax-tree/hast-util-to-dom Utility to transform HTML syntax trees into DOM structures. 19
syntax-tree/hast-util-to-html Utility to convert syntax tree into HTML string 88
syntax-tree/hast-util-from-text Utility to transform plain text into a hast node's visible content 2
syntax-tree/hast-util-to-nlcst Utility to convert HTML syntax tree to natural language representation 4
syntax-tree/mdast-util-to-hast Transforms markdown syntax trees into HTML syntax trees 103
syntax-tree/hast-util-to-mdast Converts HTML syntax tree to markdown syntax tree 38
syntax-tree/hast-util-to-xast Utility to convert HTML syntax trees into XML syntax trees 4
syntax-tree/hastscript Utility to create syntax trees with ease. 164
syntax-tree/hast-util-to-jsx-runtime A utility that converts a hast syntax tree to a framework-compatible JSX runtime 55
syntax-tree/hast-util-to-text Utility function to extract plain text from HTML-like data structures 19
syntax-tree/hast-util-select Utility package for working with HTML structures in JavaScript 38
syntax-tree/hast-util-assert Utility to verify correctness of nodes in HTML/Markdown parsing trees 1
syntax-tree/hast-util-sanitize Utility to make tree-based data safe by removing dangerous content 50
syntax-tree/hast Represents hypertext as an abstract syntax tree 757
syntax-tree/mdast-util-to-nlcst Utility to transform markdown syntax tree into natural language syntax tree 9