Search results

65 packages found

hast utility to get the plain-text value of a node

published version 1.0.1, 10 months ago2 dependents licensed under $MIT
1,319,827

hast utility to sanitize nodes

published version 5.0.2, 9 months ago87 dependents licensed under $MIT
4,343,263

hast utility that turns HTML into a syntax tree (while being small in browsers)

published version 2.0.0, 2 years ago22 dependents licensed under $MIT
2,593,604

hast utility to transform to mdast

published version 10.1.2, 5 months ago54 dependents licensed under $MIT
1,117,552

hast utility for `querySelector`, `querySelectorAll`, and `matches`

published version 6.0.4, 5 months ago132 dependents licensed under $MIT
2,484,975

hast utility to check if a node is phrasing content

published version 3.0.1, 2 years ago4 dependents licensed under $MIT
1,860,560

hast utility to transform to nlcst

published version 4.0.0, 2 years ago4 dependents licensed under $MIT
185,267

hast utility to find and replace text in a tree

published version 5.0.1, 2 years ago25 dependents licensed under $MIT
488,406

hast utility to merge class names together

published version 3.0.0, 2 years ago10 dependents licensed under $MIT
316,509

hast utility to check if an element is a css style

published version 3.0.1, 10 months ago9 dependents licensed under $MIT
103,433

hast utility to check if a node is a conditional comment

published version 3.0.1, 10 months ago1 dependents licensed under $MIT
297,303

hast utility to check if a property is an event handler

published version 3.0.1, 10 months ago3 dependents licensed under $MIT
95,033

hast utility to truncate the tree to a certain number of characters

published version 2.0.0, 2 years ago3 dependents licensed under $MIT
55,187

hast utility to check if a node is interactive

published version 3.0.0, 2 years ago1 dependents licensed under $MIT
46,778

hast utility to check if an element is a css link

published version 3.0.1, 10 months ago5 dependents licensed under $MIT
95,263

Render styled Lezer syntax trees to hast

published version 0.5.4, 4 months ago1 dependents licensed under $MIT
76,910

hast utility to check if an element is a JavaScript script

published version 3.0.1, 10 months ago10 dependents licensed under $MIT
93,892

hast utility to set the plain-text value of a node

published version 3.0.1, 10 months ago12 dependents licensed under $MIT
97,562

hast utility to check if a node is a heading element

published version 3.0.0, 2 years ago13 dependents licensed under $MIT
22,624

hast utility to transform to the DOM

published version 4.0.1, 5 months ago5 dependents licensed under $ISC
44,556