hast-util-sanitize

Data sanitizer

Utility to make tree-based data safe by removing dangerous content

utility to sanitize hast nodes

GitHub

50 stars
10 watching
20 forks
Language: JavaScript
last commit: almost 2 years ago
cleanhasthast-utilhtmlsanitizesecuritysyntax-treeunistutilxss

Related projects:

RepositoryDescriptionStars
syntax-tree/hast-util-to-htmlUtility to convert syntax tree into HTML string93
syntax-tree/hast-util-from-textUtility to transform plain text into a hast node's visible content2
syntax-tree/hast-util-from-domTransforms a DOM tree into a hast syntax tree22
syntax-tree/unist-util-removeUtility to remove nodes from a tree22
syntax-tree/unist-util-filterUtility to remove unwanted nodes from a tree data structure18
syntax-tree/hastscriptUtility to create syntax trees with ease.165
syntax-tree/hast-util-selectUtility package for working with HTML structures in JavaScript38
syntax-tree/hast-util-to-textUtility function to extract plain text from HTML-like data structures19
syntax-tree/hast-util-assertUtility to verify correctness of nodes in HTML/Markdown parsing trees1
syntax-tree/hast-util-to-nlcstUtility to convert HTML syntax tree to natural language representation4
syntax-tree/hast-util-to-xastUtility to convert HTML syntax trees into XML syntax trees4
syntax-tree/mdast-util-to-hastTransforms markdown syntax trees into HTML syntax trees105
syntax-tree/hast-util-is-elementUtility to check if a node matches certain element criteria in HTML or document structures12
syntax-tree/hast-util-to-domUtility to transform HTML syntax trees into DOM structures.19
syntax-tree/hast-util-has-propertyUtility to check if an element has a certain property1