unified

Explore/Keyword/util

Packages matching util

  1. unist-util-visit

    unist utility to visit nodes
    1. 83%
    2. 21m
  2. unist-util-is

    unist utility to check if a node passes a test
    1. 81%
    2. 25m
  3. unist-util-visit-parents

    unist utility to recursively walk over nodes, with ancestral information
    1. 80%
    2. 23m
  4. hastscript

    hast utility to create trees
    1. 80%
    2. 15m
  5. mdast-util-to-string

    mdast utility to get the plain text content of a node
    1. 80%
    2. 15m
  6. vfile-message

    vfile utility to create a virtual message
    1. 79%
    2. 23m
    3. 641 B
  7. unist-util-stringify-position

    unist utility to serialize a node, position, or point as a human readable location
    1. 79%
    2. 23m
  8. mdast-util-definitions

    mdast utility to find definition nodes in a tree
    1. 79%
    2. 12m
  9. vfile-location

    vfile utility to convert between positional (line and column-based) and offset (range-based) locations
    1. 78%
    2. 17m
    3. 413 B
  10. unist-util-remove-position

    unist utility to remove positions from a tree
    1. 78%
    2. 16m
  11. mdast-util-to-hast

    mdast utility to transform to hast
    1. 78%
    2. 9m
  12. unist-builder

    unist utility to create a new trees with a nice syntax
    1. 78%
    2. 8m
  13. unist-util-remove

    unist utility to remove nodes from a tree
    1. 78%
    2. 8m
  14. unist-util-generated

    unist utility to check if a node is generated
    1. 78%
    2. 8m
  15. unist-util-find-all-after

    unist utility to find nodes after another node
    1. 77%
    2. 10m
  16. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 77%
    2. 12m
    3. 357 B
  17. unist-util-position

    unist utility to get the position of a node
    1. 77%
    2. 8m
  18. hast-to-hyperscript

    hast utility to transform to something else (react, vue, etc) through a hyperscript DSL
    1. 76%
    2. 8m
  19. mdast-squeeze-paragraphs

    mdast utility to remove empty paragraphs from a tree
    1. 76%
    2. 7m
  20. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 76%
    2. 9m
    3. 8.09 kB
  21. hast-util-raw

    hast utility to reparse a tree
    1. 76%
    2. 8m
    3. 59.6 kB
  22. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 75%
    2. 8m
    3. 8.74 kB
  23. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 75%
    2. 2m
    3. 583 B
  24. mdast-util-from-markdown

    mdast utility to parse markdown
    1. 74%
    2. 7m
  25. to-vfile

    vfile utility to create a vfile from a filepath
    1. 74%
    2. 879k
    3. 2.38 kB
  26. hast-util-to-html

    hast utility to serialize to HTML
    1. 74%
    2. 2m
  27. unist-util-select

    unist utility to select nodes with CSS-like selectors
    1. 74%
    2. 763k
  28. mdast-util-toc

    mdast utility to generate a table of contents from a tree
    1. 74%
    2. 1m
  29. vfile-reporter

    vfile utility to create a report for a file
    1. 74%
    2. 1m
    3. 5.92 kB
  30. mdast-util-compact

    mdast utility to make a tree compact
    1. 74%
    2. 8m
  31. nlcst-to-string

    nlcst utility to transform a tree to a string
    1. 73%
    2. 885k
    3. 332 B
  32. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 73%
    2. 2m
    3. 245 B
  33. hast-util-sanitize

    hast utility to sanitize nodes
    1. 73%
    2. 704k
  34. mdast-util-to-markdown

    mdast utility to serialize markdown
    1. 73%
    2. 7m
  35. unist-util-map

    unist utility to create a new tree by mapping all nodes
    1. 73%
    2. 438k
  36. vfile-sort

    vfile utility to sort messages by line/column
    1. 72%
    2. 857k
    3. 313 B
  37. unist-util-modify-children

    unist utility to modify direct children of a parent
    1. 72%
    2. 1m
  38. unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 72%
    2. 869k
  39. unist-util-inspect

    unist utility to inspect nodes
    1. 72%
    2. 473k
  40. vfile-statistics

    vfile utility to count messages per category: failures, warnings, etc
    1. 72%
    2. 906k
    3. 334 B
  41. hast-util-has-property

    hast utility to check if a node has a property
    1. 71%
    2. 580k
    3. 255 B
  42. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 259k
    3. 1.91 kB
  43. unist-util-filter

    unist utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 131k
  44. mdast-comment-marker

    mdast utility to parse a comment marker
    1. 71%
    2. 320k
  45. unist-util-find-after

    unist utility to find a node after another node
    1. 70%
    2. 282k
  46. mdast-util-find-and-replace

    mdast utility to find and replace text in a tree
    1. 70%
    2. 500k
  47. mdast-util-to-nlcst

    mdast utility to transform to nlcst
    1. 70%
    2. 847k
  48. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 70%
    2. 94k
    3. 13 kB
  49. nlcst-search

    nlcst utility to search for patterns in a tree
    1. 69%
    2. 68k
    3. 1.75 kB
  50. mdast-util-heading-style

    mdast utility to get the style of a heading
    1. 69%
    2. 254k
  51. mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 69%
    2. 642k
  52. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 69%
    2. 38k
    3. 271 B
  53. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 69%
    2. 88k
    3. 1.17 kB
  54. mdast-util-gfm-table

    mdast extension to parse and serialize GFM tables
    1. 69%
    2. 639k
  55. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 269k
    3. 463 B
  56. mdast-util-gfm

    mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
    1. 69%
    2. 641k
  57. mdast-util-gfm-autolink-literal

    mdast extension to parse and serialize GFM autolink literals
    1. 69%
    2. 646k
  58. unist-util-find-all-before

    unist utility to find nodes before another node
    1. 69%
    2. 13k
  59. nlcst-is-literal

    nlcst utility to check whether a node is meant literally
    1. 68%
    2. 76k
  60. mdast-util-gfm-task-list-item

    mdast extension to parse and serialize GFM task list items
    1. 68%
    2. 638k
  61. nlcst-normalize

    nlcst utility to normalize a word for easier comparison
    1. 68%
    2. 67k
    3. 419 B
  62. mdast-util-heading-range

    mdast utility to use headings as ranges in mdast
    1. 68%
    2. 28k
  63. unist-util-source

    unist utility to get the source of a value
    1. 68%
    2. 11k
  64. mdast-util-mdxjs-esm

    mdast extension to parse and serialize MDX.js ESM (import/exports)
    1. 68%
    2. 716k
  65. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 50k
    3. 2.45 kB
  66. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 68%
    2. 32k
  67. vfile-reporter-pretty

    vfile utility to create a pretty report for a file
    1. 68%
    2. 1k
    3. 36.6 kB
  68. xastscript

    xast utility to create trees
    1. 68%
    2. 3k
    3. 527 B
  69. mdast-zone

    mdast utility to treat HTML comments as ranges or markers
    1. 68%
    2. 12k
  70. vfile-find-up

    vfile utility to find one or more files by searching the file system upwards
    1. 68%
    2. 60k
    3. 2.75 kB
  71. xast-util-to-xml

    xast utility to serialize to XML
    1. 68%
    2. 4k
    3. 2.99 kB
  72. unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 68%
    2. 8k
  73. vfile-to-eslint

    vfile utility to convert to ESLint formatter compatible output
    1. 67%
    2. 1k
    3. 527 B
  74. mdast-util-phrasing

    mdast utility to check if a node is phrasing content
    1. 67%
    2. 134k
  75. unist-util-assert

    unist utility to assert nodes
    1. 67%
    2. 1k
  76. mdast-normalize-headings

    mdast utility to make sure there is no more than a single top-level heading in the document
    1. 67%
    2. 2k
  77. nlcst-emoji-modifier

    nlcst utility to support emoji
    1. 67%
    2. 10k
    3. 19.6 kB
  78. nlcst-emoticon-modifier

    nlcst utility to support emoticons in nlcst
    1. 67%
    2. 10k
    3. 2.34 kB
  79. nlcst-affix-emoticon-modifier

    nlcst utility to merge affix emoticons into the previous sentence
    1. 67%
    2. 10k
    3. 569 B
  80. vfile-find-down

    vfile utility to find one or more files by searching the file system downwards
    1. 67%
    2. 9k
  81. vfile-matter

    vfile utility to parse the YAML front matter in a file
    1. 67%
    2. 513
    3. 9.91 kB
  82. unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 67%
    2. 7k
  83. vfile-reporter-json

    vfile utility to create a JSON report for a file
    1. 67%
    2. 617
    3. 434 B
  84. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 67%
    2. 14k
    3. 12.6 kB
  85. unist-util-find-before

    unist utility to find a node before another node
    1. 67%
    2. 5k
  86. unist-util-size

    unist utility to calculate the number of nodes in a tree
    1. 67%
    2. 899
  87. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 235
    3. 6.8 kB
  88. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 67%
    2. 1k
    3. 1.5 kB
  89. mdast-util-footnote

    mdast extension to parse and serialize footnotes
    1. 67%
    2. 133k
  90. hast-util-to-dom

    hast utility to transform to the DOM
    1. 67%
    2. 3k
    3. 6.62 kB
  91. mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 67%
    2. 716k
  92. hast-util-classnames

    hast utility to merge class names together
    1. 67%
    2. 112
    3. 524 B
  93. unist-util-index

    unist utility to index property values or computed keys to nodes
    1. 66%
    2. 1k
  94. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 131
    3. 9.8 kB
  95. estree-util-visit

    esast (and estree) utility to visit nodes
    1. 66%
    2. 118
    3. 609 B
  96. hast-util-heading

    hast utility to check if a node is a heading element
    1. 66%
    2. 2k
    3. 444 B
  97. mdast-util-directive

    mdast extension to parse and serialize generic directives (:cite[smith04])
    1. 66%
    2. 14k
  98. vfile-reporter-folder-json

    vfile utility to create a JSON representation of files
    1. 66%
    2. 30
    3. 411 B
  99. mdast-util-mdx-jsx

    mdast extension to parse and serialize MDX or MDX.js JSX
    1. 66%
    2. 720k
  100. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 164
    3. 967 B
  101. xast-util-sitemap

    xast utility to build a sitemap
    1. 66%
    2. 65
    3. 10 kB
  102. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 70
    3. 503 B
  103. xast-util-from-xml

    xast utility to parse from XML
    1. 66%
    2. 315
    3. 8.53 kB
  104. vfile-mkdirp

    vfile utility to make sure the directory of a file exists on the file system
    1. 66%
    2. 134
    3. 1.48 kB
  105. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 67
    3. 289 B
  106. mdast-util-math

    mdast extension to parse and serialize math
    1. 66%
    2. 76k
  107. xast-util-feed

    xast utility to build feeds (rss, atom)
    1. 66%
    2. 70
    3. 10.6 kB
  108. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 82
    3. 362 B
  109. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 66%
    2. 70
    3. 684 B
  110. esast-util-from-estree

    esast utility to transform from estree
    1. 65%
    2. 66
    3. 979 B
  111. mdast-util-assert

    mdast utility to assert trees
    1. 65%
    2. 778
  112. xast-util-to-string

    xast utility to get the text value of a node
    1. 65%
    2. 77
    3. 269 B
  113. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 65%
    2. 94
    3. 436 B
  114. vfile-rename

    vfile utility to rename the path parts of a file
    1. 65%
    2. 173
    3. 2.51 kB
  115. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 65%
    2. 71
    3. 437 B
  116. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 77
    3. 435 B
  117. vfile-is

    vfile utility to check if a vfile passes a test
    1. 64%
    2. 73
    3. 4.66 kB
  118. nlcst-test

    nlcst utility to check assert an nlcst node
    1. 64%
    2. 56
    3. 1.39 kB
  119. hast-util-assert

    hast utility to assert nodes
    1. 64%
    2. 8
    3. 1.45 kB
  120. mdast-util-frontmatter

    mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
    1. 63%
    2. 111k
  121. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 59%
    2. 6k
    3. 357 B
  122. unist-util-to-string-with-nodes

    functionality that generates string with nodes corresponding to each character provided.
    1. 59%
    2. 21
    3. 1.07 kB
  123. unist-util-to-list-of-char

    functionality that helps generating list of characters in all visible text inside give node tree
    1. 58%
    2. 4k
    3. 1.01 kB
  124. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 57%
    2. 1k
    3. 977 B
  125. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 57%
    2. 139k
    3. 507 B
  126. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 56%
    2. 30
    3. 898 B
  127. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 55%
    2. 6
    3. 6.55 kB
  128. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 53%
    2. 1k
    3. 320 B
  129. Find other packages matching util on npm