Search results

202 packages found

unist utility to visit nodes

published version 5.0.0, 2 years ago2859 dependents licensed under $MIT
72,710,239

Transform HAST to Babel AST (JSX)

published version 8.0.0, 2 years ago5 dependents licensed under $MIT
41,354,520

hast utility to transform from a `parse5` AST

published version 8.0.3, 4 months ago71 dependents licensed under $MIT
20,735,282

mdast utility to transform to hast

published version 13.2.0, a year ago291 dependents licensed under $MIT
38,385,922

hast utility to create an element from a simple CSS selector

published version 4.0.0, 2 years ago59 dependents licensed under $MIT
31,554,714

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

published version 3.0.0, 2 years ago58 dependents licensed under $MIT
30,453,981

hast utility to transform to a `parse5` AST

published version 8.0.0, 2 years ago34 dependents licensed under $MIT
17,520,382

remark plugin that turns markdown into HTML to support rehype

published version 11.1.2, 2 months ago774 dependents licensed under $MIT
27,565,485

hast utility to create trees

published version 9.0.1, 4 months ago280 dependents licensed under $MIT
32,104,196

hast utility to reparse a tree

published version 9.1.0, 7 months ago99 dependents licensed under $MIT
18,071,904

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

published version 3.0.0, 2 years ago134 dependents licensed under $MIT
13,758,407

hast utility to serialize to HTML

published version 9.0.5, 4 months ago289 dependents licensed under $MIT
11,478,335

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

published version 2.3.6, 3 months ago64 dependents licensed under $MIT
14,753,029

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

published version 3.0.1, 8 months ago235 dependents licensed under $MIT
9,168,496

hast utility to transform to estree (JavaScript AST) JSX

published version 3.1.3, 3 months ago42 dependents licensed under $MIT
8,127,477

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,090,208

recma plugin to transform HTML (hast) to JS (estree)

published version 1.0.0, 8 months ago2 dependents licensed under $MIT
3,482,154

hast utility to parse from HTML

published version 2.0.3, 9 months ago127 dependents licensed under $MIT
6,083,528

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

published version 3.0.0, 2 years ago42 dependents licensed under $MIT
6,236,263

rehype plugin to automatically add `target` and `rel` attributes to external links

published version 3.0.0, 2 years ago108 dependents licensed under $MIT
4,719,562