JSPM

Found 65 results for hast-util

hast-util-whitespace

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

  • v3.0.0
  • 115.02
  • Published

hast-util-raw

hast utility to reparse a tree

  • v9.1.0
  • 109.61
  • Published

hastscript

hast utility to create trees

  • v9.0.1
  • 101.07
  • Published

hast-util-from-dom

hast utility to create a tree from the DOM

  • v5.0.1
  • 99.55
  • Published

hast-util-to-jsx-runtime

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

  • v2.3.6
  • 98.00
  • Published

hast-util-to-string

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

  • v3.0.1
  • 96.45
  • Published

hast-util-is-element

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

  • v3.0.0
  • 94.11
  • Published

hast-util-to-text

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

  • v4.0.2
  • 90.80
  • Published

hast-util-to-estree

hast utility to transform to estree (JavaScript AST) JSX

  • v3.1.3
  • 90.59
  • Published

hast-util-select

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

  • v6.0.4
  • 85.27
  • Published

hast-util-phrasing

hast utility to check if a node is phrasing content

  • v3.0.1
  • 83.98
  • Published

hast-util-embedded

hast utility to check if a node is an embedded element

  • v3.0.0
  • 83.49
  • Published

hast-util-to-dom

hast utility to transform to the DOM

  • v4.0.1
  • 69.92
  • Published

hast-util-truncate

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

  • v2.0.0
  • 61.25
  • Published

hast-util-excerpt

hast utility to excerpt the tree to a comment

  • v2.0.0
  • 61.11
  • Published

hast-util-heading

hast utility to check if a node is a heading element

  • v3.0.0
  • 59.18
  • Published

hast-util-class-list

Simulate the browser's classList API for HAST nodes

  • v2.0.1
  • 33.81
  • Published

hast-util-from-text

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

  • v3.0.0
  • 29.62
  • Published

hast-util-from-parse5-ns

A fork of the original hast utility to transform from Parse5’s AST

  • v7.1.1
  • 19.48
  • Published

hastscript-ns

hast utility to create trees

  • v7.0.3
  • 18.63
  • Published

hast-util-transparent

hast utility to check if a node is a transparent element

  • v3.0.0
  • 17.49
  • Published

hast-util-to-tiptap

hast utility to transform to be used by TipTap renderHTML

  • v0.0.1
  • 10.65
  • Published

rehype-slugs

rehype plugin to add ids to headings and output.

  • v0.0.5
  • 7.89
  • Published

hast-util-sectioning

hast utility to check if a node is a sectioning element

  • v3.0.0
  • 6.92
  • Published

hast-util-labelable

hast utility to check whether a node is labelable

  • v3.0.0
  • 6.53
  • Published

hast-util-to-html-ns

A fork of the original hast utility that serializes an AST to HTML

  • v8.0.4
  • 4.12
  • Published