unified

Explore/Keyword/utility

Packages matching utility

  1. unist-util-visit

    unist utility to visit nodes
    1. 85%
    2. 67m
    3. 347 B
  2. unist-util-visit-parents

    unist utility to recursively walk over nodes, with ancestral information
    1. 83%
    2. 69m
  3. unist-util-is

    unist utility to check if a node passes a test
    1. 83%
    2. 70m
  4. mdast-util-to-hast

    mdast utility to transform to hast
    1. 82%
    2. 29m
    3. 4.78 kB
  5. hastscript

    hast utility to create trees
    1. 82%
    2. 24m
    3. 7.06 kB
  6. unist-util-stringify-position

    unist utility to serialize a node, position, or point as a human readable location
    1. 82%
    2. 58m
    3. 278 B
  7. mdast-util-to-string

    mdast utility to get the plain text content of a node
    1. 82%
    2. 54m
    3. 369 B
  8. vfile-message

    vfile utility to create a virtual message
    1. 82%
    2. 51m
    3. 718 B
  9. unist-builder

    unist utility to create a new trees with a nice syntax
    1. 82%
    2. 12m
    3. 247 B
  10. vfile-location

    vfile utility to convert between positional (line and column-based) and offset (range-based) locations
    1. 81%
    2. 21m
    3. 448 B
  11. unist-util-remove-position

    unist utility to remove positions from a tree
    1. 81%
    2. 21m
    3. 351 B
  12. unist-util-position

    unist utility to get the position of a node
    1. 81%
    2. 30m
    3. 313 B
  13. unist-util-generated

    unist utility to check if a node is generated
    1. 81%
    2. 17m
    3. 203 B
  14. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 81%
    2. 23m
    3. 345 B
  15. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 81%
    2. 16m
    3. 8.26 kB
  16. mdast-util-definitions

    mdast utility to find definition nodes in a tree
    1. 80%
    2. 25m
    3. 432 B
  17. mdast-util-from-markdown

    mdast utility to parse markdown
    1. 80%
    2. 39m
    3. 26.9 kB
  18. unist-util-remove

    unist utility to remove nodes from a tree
    1. 80%
    2. 7.7m
  19. hast-util-raw

    hast utility to reparse a tree
    1. 80%
    2. 14m
    3. 57.8 kB
  20. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 80%
    2. 14m
    3. 6.83 kB
  21. mdast-squeeze-paragraphs

    mdast utility to remove empty paragraphs from a tree
    1. 80%
    2. 6m
  22. micromark-util-character

    micromark utility to handle character codes
    1. 79%
    2. 38m
  23. micromark-util-subtokenize

    micromark utility to tokenize subtokens
    1. 79%
    2. 27m
    3. 1.46 kB
  24. micromark-util-sanitize-uri

    micromark utility to sanitize urls
    1. 79%
    2. 30m
  25. micromark-util-normalize-identifier

    micromark utility normalize identifiers (as found in references, definitions)
    1. 79%
    2. 27m
    3. 215 B
  26. micromark-util-chunked

    micromark utility to splice and push with giant arrays
    1. 79%
    2. 28m
    3. 305 B
  27. micromark-util-resolve-all

    micromark utility to resolve subtokens
    1. 79%
    2. 28m
  28. micromark-util-classify-character

    micromark utility to classify whether a character is whitespace or punctuation
    1. 79%
    2. 28m
  29. micromark-util-combine-extensions

    micromark utility to combine syntax or html extensions
    1. 79%
    2. 27m
    3. 492 B
  30. micromark-util-decode-numeric-character-reference

    micromark utility to decode numeric character references
    1. 79%
    2. 28m
  31. micromark-util-decode-string

    micromark utility to decode markdown strings
    1. 79%
    2. 28m
  32. mdast-util-to-markdown

    mdast utility to serialize markdown
    1. 78%
    2. 31m
    3. 18.2 kB
  33. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 77%
    2. 21m
    3. 229 B
  34. mdast-util-find-and-replace

    mdast utility to find and replace text in a tree
    1. 76%
    2. 17m
    3. 1.03 kB
  35. mdast-util-gfm

    mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
    1. 76%
    2. 16m
  36. mdast-util-gfm-table

    mdast extension to parse and serialize GFM tables
    1. 76%
    2. 17m
  37. mdast-util-gfm-autolink-literal

    mdast extension to parse and serialize GFM autolink literals
    1. 75%
    2. 16m
    3. 2 kB
  38. mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 75%
    2. 17m
    3. 452 B
  39. hast-util-to-html

    hast utility to serialize to HTML
    1. 75%
    2. 7.2m
    3. 10.9 kB
  40. mdast-util-gfm-task-list-item

    mdast extension to parse and serialize GFM task list items
    1. 75%
    2. 17m
  41. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 75%
    2. 16m
    3. 585 B
  42. unist-util-find-all-after

    unist utility to find nodes after another node
    1. 75%
    2. 4.3m
    3. 610 B
  43. hast-util-sanitize

    hast utility to sanitize nodes
    1. 74%
    2. 2.6m
    3. 3.13 kB
  44. hast-util-to-string

    hast utility to get the plain-text value of a node
    1. 74%
    2. 13m
    3. 256 B
  45. estree-util-visit

    esast (and estree) utility to visit nodes
    1. 74%
    2. 7.6m
  46. mdast-util-mdx-jsx

    mdast extension to parse and serialize MDX or MDX.js JSX
    1. 74%
    2. 13m
    3. 17.2 kB
  47. mdast-util-compact

    mdast utility to make a tree compact
    1. 74%
    2. 2.8m
    3. 463 B
  48. mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 73%
    2. 7.6m
    3. 17.4 kB
  49. unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 73%
    2. 7.5m
    3. 336 B
  50. mdast-util-mdxjs-esm

    mdast extension to parse and serialize MDX.js ESM (import/exports)
    1. 73%
    2. 13m
    3. 400 B
  51. mdast-util-mdx-expression

    mdast extension to parse and serialize MDX (or MDX.js) expressions
    1. 73%
    2. 13m
    3. 525 B
  52. mdast-util-frontmatter

    mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
    1. 73%
    2. 5.6m
    3. 1.46 kB
  53. mdast-util-gfm-footnote

    mdast extension to parse and serialize GFM footnotes
    1. 73%
    2. 14m
    3. 754 B
  54. hast-util-has-property

    hast utility to check if a node has a property
    1. 73%
    2. 2.8m
    3. 224 B
  55. nlcst-to-string

    nlcst utility to transform a tree to a string
    1. 73%
    2. 2.4m
    3. 291 B
  56. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 3.5m
  57. unist-util-find-after

    unist utility to find a node after another node
    1. 73%
    2. 3.6m
  58. to-vfile

    vfile utility to create a vfile from a filepath
    1. 73%
    2. 1.3m
    3. 1.85 kB
  59. unist-util-modify-children

    unist utility to modify direct children of a parent
    1. 72%
    2. 2.3m
  60. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 72%
    2. 11m
  61. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 72%
    2. 1.4m
    3. 14.4 kB
  62. vfile-sort

    vfile utility to sort messages by line/column
    1. 72%
    2. 2.3m
    3. 299 B
  63. vfile-statistics

    vfile utility to count messages per category: failures, warnings, etc
    1. 72%
    2. 2.3m
    3. 356 B
  64. mdast-util-toc

    mdast utility to generate a table of contents from a tree
    1. 72%
    2. 1.1m
    3. 5.75 kB
  65. unist-util-select

    unist utility to select nodes with CSS-like selectors
    1. 72%
    2. 778k
  66. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 6.1m
  67. unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 72%
    2. 2.1m
    3. 241 B
  68. unist-util-inspect

    unist utility to inspect nodes
    1. 72%
    2. 1.8m
    3. 1.11 kB
  69. vfile-reporter

    vfile utility to create a report for a file
    1. 71%
    2. 2.4m
  70. unist-util-map

    unist utility to create a new tree by mapping all nodes
    1. 71%
    2. 437k
  71. mdast-comment-marker

    mdast utility to parse a comment marker
    1. 71%
    2. 843k
    3. 566 B
  72. unist-util-filter

    unist utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 1.4m
    3. 623 B
  73. mdast-util-heading-style

    mdast utility to get the style of a heading
    1. 71%
    2. 620k
    3. 304 B
  74. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 71%
    2. 854k
    3. 312 B
  75. mdast-util-to-nlcst

    mdast utility to transform to nlcst
    1. 71%
    2. 475k
  76. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 70%
    2. 1.6m
  77. vfile-find-up

    vfile utility to find one or more files by searching the file system upwards
    1. 70%
    2. 133k
  78. vfile-matter

    vfile utility to parse the YAML front matter in a file
    1. 70%
    2. 858k
    3. 30.8 kB
  79. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 70%
    2. 839k
    3. 845 B
  80. nlcst-search

    nlcst utility to search for patterns in a tree
    1. 70%
    2. 116k
    3. 1.29 kB
  81. nlcst-is-literal

    nlcst utility to check whether a node is meant literally
    1. 70%
    2. 182k
    3. 757 B
  82. mdast-util-math

    mdast extension to parse and serialize math
    1. 69%
    2. 1.9m
    3. 1.24 kB
  83. mdast-util-heading-range

    mdast utility to use headings as ranges in mdast
    1. 69%
    2. 64k
  84. hast-util-is-conditional-comment

    hast utility to check if a node is a conditional comment
    1. 69%
    2. 189k
    3. 225 B
  85. nlcst-normalize

    nlcst utility to normalize a word for easier comparison
    1. 69%
    2. 121k
    3. 383 B
  86. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 1.1m
    3. 500 B
  87. mdast-util-phrasing

    mdast utility to check if a node is phrasing content
    1. 69%
    2. 21m
    3. 558 B
  88. mdast-zone

    mdast utility to treat HTML comments as ranges or markers
    1. 69%
    2. 14k
  89. hast-util-from-string

    hast utility to set the plain-text value of a node
    1. 68%
    2. 89k
    3. 236 B
  90. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 68%
    2. 83k
    3. 451 B
  91. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 68%
    2. 83k
    3. 546 B
  92. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 68%
    2. 86k
    3. 414 B
  93. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 103k
    3. 2.42 kB
  94. unist-util-index

    unist utility to index property values or computed keys to nodes
    1. 68%
    2. 3.4k
  95. unist-util-source

    unist utility to get the source of a value
    1. 68%
    2. 48k
    3. 525 B
  96. hast-util-heading

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

    mdast extension to parse and serialize generic directives (:cite[smith04])
    1. 68%
    2. 2m
    3. 15.7 kB
  98. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 68%
    2. 256k
    3. 1.07 kB
  99. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 20k
    3. 6.54 kB
  100. unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 67%
    2. 8k
    3. 349 B
  101. mdast-normalize-headings

    mdast utility to make sure there is no more than a single top-level heading in the document
    1. 67%
    2. 13k
  102. vfile-reporter-pretty

    vfile utility to create a pretty report for a file
    1. 67%
    2. 2.6k
    3. 45.7 kB
  103. vfile-find-down

    vfile utility to find one or more files by searching the file system downwards
    1. 67%
    2. 20k
  104. hast-util-reading-time

    hast utility to estimate the reading time
    1. 67%
    2. 4.1k
  105. nlcst-emoticon-modifier

    nlcst utility to support emoticons in nlcst
    1. 67%
    2. 69k
  106. nlcst-affix-emoticon-modifier

    nlcst utility to merge affix emoticons into the previous sentence
    1. 67%
    2. 69k
  107. unist-util-find-before

    unist utility to find a node before another node
    1. 67%
    2. 30k
    3. 613 B
  108. remark-code-blocks

    Extract code blocks from an MDAST tree
    1. 67%
    2. 6.6k
    3. 335 B
  109. vfile-to-eslint

    vfile utility to convert to ESLint formatter compatible output
    1. 67%
    2. 2.6k
  110. nlcst-emoji-modifier

    nlcst utility to support emoji
    1. 67%
    2. 69k
    3. 18.6 kB
  111. unist-util-find-all-before

    unist utility to find nodes before another node
    1. 67%
    2. 44k
  112. vfile-reporter-json

    vfile utility to create a JSON report for a file
    1. 67%
    2. 7.9k
    3. 452 B
  113. unist-util-assert

    unist utility to assert nodes
    1. 67%
    2. 5.4k
    3. 147 B
  114. xastscript

    xast utility to create trees
    1. 67%
    2. 16k
    3. 504 B
  115. xast-util-from-xml

    xast utility to parse from XML
    1. 67%
    2. 9.7k
    3. 5.75 kB
  116. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 67%
    2. 6.2k
  117. xast-util-to-xml

    xast utility to serialize to XML
    1. 67%
    2. 23k
    3. 2.95 kB
  118. mdast-util-assert

    mdast utility to assert trees
    1. 67%
    2. 4.4k
    3. 1.44 kB
  119. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 5.1k
    3. 6.81 kB
  120. vfile-rename

    vfile utility to rename the path parts of a file
    1. 67%
    2. 1.8k
  121. xast-util-feed

    xast utility to build feeds (rss, atom)
    1. 67%
    2. 1.9k
  122. unist-util-size

    unist utility to calculate the number of nodes in a tree
    1. 66%
    2. 131
    3. 528 B
  123. xast-util-sitemap

    xast utility to build a sitemap
    1. 66%
    2. 361
  124. xast-util-to-string

    xast utility to get the text value of a node
    1. 66%
    2. 5.2k
    3. 257 B
  125. esast-util-from-estree

    esast utility to transform from estree
    1. 66%
    2. 934k
  126. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 44
    3. 544 B
  127. nlcst-test

    nlcst utility to check assert an nlcst node
    1. 66%
    2. 154
    3. 708 B
  128. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 7
    3. 471 B
  129. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 48
  130. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 11
  131. hast-util-classnames

    hast utility to merge class names together
    1. 66%
    2. 195k
    3. 497 B
  132. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 207
    3. 352 B
  133. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 3.3k
    3. 519 B
  134. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 32
    3. 469 B
  135. vfile-is

    vfile utility to check if a vfile passes a test
    1. 66%
    2. 1.9k
  136. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 4.8k
    3. 388 B
  137. esast-util-from-js

    estree (and esast) utility to parse from JavaScript
    1. 65%
    2. 935k
    3. 34.2 kB
  138. hast-util-from-html

    hast utility to parse from HTML
    1. 65%
    2. 3.4m
  139. hast-util-truncate

    hast utility to truncate the tree to a certain number of characters
    1. 64%
    2. 56k
    3. 1.5 kB
  140. hast-util-excerpt

    hast utility to excerpt the tree to a comment
    1. 64%
    2. 55k
    3. 1.71 kB
  141. estree-util-to-js

    estree (and esast) utility to serialize to JavaScript
    1. 64%
    2. 5.9m
    3. 4.85 kB
  142. Find other packages matching utility on npm