Search results

65 packages found

hast utility to transform to a `parse5` AST

published version 8.0.0, 2 years ago34 dependents licensed under $MIT
17,921,215

hast utility to create an element from a simple CSS selector

published version 4.0.0, 2 years ago59 dependents licensed under $MIT
31,271,368

hast utility to check if a node is inter-element whitespace

published version 3.0.0, 2 years ago58 dependents licensed under $MIT
31,148,630

Transform HAST to Babel AST (JSX)

published version 8.0.0, 2 years ago5 dependents licensed under $MIT
42,943,009

hast utility to transform from a `parse5` AST

published version 8.0.3, 4 months ago71 dependents licensed under $MIT
21,282,419

mdast utility to transform to hast

published version 13.2.0, a year ago292 dependents licensed under $MIT
39,283,693

hast utility to reparse a tree

published version 9.1.0, 7 months ago100 dependents licensed under $MIT
18,826,985

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

published version 3.0.1, 9 months ago235 dependents licensed under $MIT
9,342,893

hast utility to create trees

published version 9.0.1, 4 months ago280 dependents licensed under $MIT
32,811,318

hast utility to parse from HTML

published version 2.0.3, 9 months ago127 dependents licensed under $MIT
6,255,286

hast utility to check if a node is a (certain) element

published version 3.0.0, 2 years ago135 dependents licensed under $MIT
13,578,642

hast utility to serialize to HTML

published version 9.0.5, 4 months ago289 dependents licensed under $MIT
11,842,552

hast utility to transform to preact, react, solid, svelte, vue, etc

published version 2.3.6, 3 months ago65 dependents licensed under $MIT
15,140,460

hast utility to transform to estree (JavaScript AST) JSX

published version 3.1.3, 3 months ago42 dependents licensed under $MIT
8,324,243

hast utility to get the plain-text value of a node according to the `innerText` algorithm

published version 4.0.2, a year ago85 dependents licensed under $MIT
6,350,927

hast utility to create a tree from the DOM

published version 5.0.1, 7 months ago41 dependents licensed under $ISC
2,750,466

hast utility to get the rank (or depth, level) of headings

published version 3.0.0, 2 years ago42 dependents licensed under $MIT
6,217,675

hast utility to check if a node has a property

published version 3.0.0, 2 years ago54 dependents licensed under $MIT
5,055,966

hast utility to sanitize nodes

published version 5.0.2, 8 months ago95 dependents licensed under $MIT
3,514,809

hast utility to check if a node is an embedded element

published version 3.0.0, 2 years ago8 dependents licensed under $MIT
1,965,943