unified

Explore/Keyword/util

Packages matching util

  1. unist-util-visit

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

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

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

    mdast utility to transform to hast
    1. 82%
    2. 168m
    3. 4.77 B
  5. hastscript

    hast utility to create trees
    1. 82%
    2. 108m
    3. 6.68 B
  6. unist-util-stringify-position

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

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

    vfile utility to create a virtual message
    1. 82%
    2. 197m
  9. unist-builder

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

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

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

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

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

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

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

    mdast utility to find definition nodes in a tree
    1. 80%
    2. 36m
  17. unist-util-remove

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

    hast utility to reparse a tree
    1. 80%
    2. 67m
    3. 55.3 B
  19. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 80%
    2. 67m
    3. 5.72 B
  20. mdast-squeeze-paragraphs

    mdast utility to remove empty paragraphs from a tree
    1. 80%
    2. 3.2m
    3. 887 B
  21. micromark-util-character

    micromark utility to handle character codes
    1. 79%
    2. 220m
    3. 446 B
  22. micromark-util-subtokenize

    micromark utility to tokenize subtokens
    1. 79%
    2. 176m
    3. 0.954 B
  23. micromark-util-sanitize-uri

    micromark utility to sanitize urls
    1. 79%
    2. 179m
  24. micromark-util-normalize-identifier

    micromark utility normalize identifiers (as found in references, definitions)
    1. 79%
    2. 169m
  25. micromark-util-chunked

    micromark utility to splice and push with giant arrays
    1. 79%
    2. 163m
    3. 308 B
  26. micromark-util-resolve-all

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

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

    micromark utility to combine syntax or html extensions
    1. 79%
    2. 175m
    3. 479 B
  29. micromark-util-decode-numeric-character-reference

    micromark utility to decode numeric character references
    1. 79%
    2. 169m
    3. 295 B
  30. micromark-util-decode-string

    micromark utility to decode markdown strings
    1. 79%
    2. 163m
    3. 491 B
  31. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 77%
    2. 153m
    3. 232 B
  32. hast-util-to-html

    hast utility to serialize to HTML
    1. 75%
    2. 68m
    3. 9.54 B
  33. hast-util-is-element

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

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

    hast utility to sanitize nodes
    1. 74%
    2. 33m
    3. 2.86 B
  36. hast-util-to-string

    hast utility to get the plain-text value of a node
    1. 74%
    2. 23m
  37. estree-util-visit

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

    mdast extension to parse and serialize MDX or MDX.js JSX
    1. 74%
    2. 126m
  39. mdast-util-compact

    mdast utility to make a tree compact
    1. 74%
    2. 2.9m
  40. mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 73%
    2. 41m
  41. unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 73%
    2. 41m
  42. mdast-util-gfm-footnote

    mdast extension to parse and serialize GFM footnotes
    1. 73%
    2. 118m
  43. hast-util-has-property

    hast utility to check if a node has a property
    1. 73%
    2. 19m
    3. 229 B
  44. nlcst-to-string

    nlcst utility to transform a tree to a string
    1. 73%
    2. 18m
    3. 295 B
  45. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 48m
    3. 0.954 B
  46. unist-util-find-after

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

    vfile utility to create a vfile from a filepath
    1. 73%
    2. 4.1m
  48. unist-util-modify-children

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

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

    hast utility for querySelector, querySelectorAll, and matches
    1. 72%
    2. 8.6m
  51. vfile-sort

    vfile utility to sort messages by line/column
    1. 72%
    2. 5.1m
    3. 335 B
  52. vfile-statistics

    vfile utility to count messages per category: failures, warnings, etc
    1. 72%
    2. 5.1m
  53. mdast-util-toc

    mdast utility to generate a table of contents from a tree
    1. 72%
    2. 2.1m
    3. 5.72 B
  54. unist-util-select

    unist utility to select nodes with CSS-like selectors
    1. 72%
    2. 1.8m
    3. 6.68 B
  55. hast-util-to-estree

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

    unist utility to visit direct children of a parent
    1. 72%
    2. 15m
    3. 245 B
  57. vfile-reporter

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

    unist utility to create a new tree by mapping all nodes
    1. 71%
    2. 1.7m
    3. 229 B
  59. mdast-comment-marker

    mdast utility to parse a comment marker
    1. 71%
    2. 1.5m
    3. 261 B
  60. unist-util-filter

    unist utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 8.6m
  61. mdast-util-heading-style

    mdast utility to get the style of a heading
    1. 71%
    2. 1m
    3. 313 B
  62. hast-util-is-body-ok-link

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

    mdast utility to transform to nlcst
    1. 71%
    2. 564k
    3. 0.954 B
  64. hast-util-from-dom

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

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

    vfile utility to parse the YAML front matter in a file
    1. 70%
    2. 4.5m
  67. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 70%
    2. 11m
    3. 846 B
  68. nlcst-search

    nlcst utility to search for patterns in a tree
    1. 70%
    2. 288k
  69. nlcst-is-literal

    nlcst utility to check whether a node is meant literally
    1. 70%
    2. 338k
  70. mdast-util-heading-range

    mdast utility to use headings as ranges in mdast
    1. 69%
    2. 117k
    3. 710 B
  71. hast-util-is-conditional-comment

    hast utility to check if a node is a conditional comment
    1. 69%
    2. 616k
  72. nlcst-normalize

    nlcst utility to normalize a word for easier comparison
    1. 69%
    2. 307k
  73. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 11m
  74. mdast-util-phrasing

    mdast utility to check if a node is phrasing content
    1. 69%
    2. 147m
    3. 539 B
  75. mdast-zone

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

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

    hast utility to check if an element is a css link
    1. 68%
    2. 297k
  78. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 68%
    2. 286k
    3. 551 B
  79. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 68%
    2. 317k
  80. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 167k
  81. unist-util-index

    unist utility to index property values or computed keys to nodes
    1. 68%
    2. 16k
    3. 0.954 B
  82. unist-util-source

    unist utility to get the source of a value
    1. 68%
    2. 200k
  83. hast-util-heading

    hast utility to check if a node is a heading element
    1. 68%
    2. 49k
    3. 483 B
  84. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 68%
    2. 1m
    3. 0.954 B
  85. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 1.3m
  86. unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 67%
    2. 22k
  87. mdast-normalize-headings

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

    vfile utility to create a pretty report for a file
    1. 67%
    2. 8.4k
    3. 42.9 B
  89. vfile-find-down

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

    hast utility to estimate the reading time
    1. 67%
    2. 4.6k
    3. 35.3 B
  91. nlcst-emoticon-modifier

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

    nlcst utility to merge affix emoticons into the previous sentence
    1. 67%
    2. 123k
    3. 559 B
  93. unist-util-find-before

    unist utility to find a node before another node
    1. 67%
    2. 42k
  94. remark-code-blocks

    Extract code blocks from an MDAST tree
    1. 67%
    2. 6.5k
    3. 358 B
  95. vfile-to-eslint

    vfile utility to convert to ESLint formatter compatible output
    1. 67%
    2. 8.1k
    3. 609 B
  96. nlcst-emoji-modifier

    nlcst utility to support emoji
    1. 67%
    2. 127k
  97. unist-util-find-all-before

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

    vfile utility to create a JSON report for a file
    1. 67%
    2. 22k
  99. unist-util-assert

    unist utility to assert nodes
    1. 67%
    2. 6.9k
  100. xastscript

    xast utility to create trees
    1. 67%
    2. 177k
  101. xast-util-from-xml

    xast utility to parse from XML
    1. 67%
    2. 75k
    3. 4.77 B
  102. hast-util-from-selector

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

    xast utility to serialize to XML
    1. 67%
    2. 203k
  104. mdast-util-assert

    mdast utility to assert trees
    1. 67%
    2. 4.1k
  105. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 4.7k
    3. 5.72 B
  106. vfile-rename

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

    xast utility to build feeds (rss, atom)
    1. 67%
    2. 5.8k
    3. 57.2 B
  108. unist-util-size

    unist utility to calculate the number of nodes in a tree
    1. 66%
    2. 138
  109. xast-util-sitemap

    xast utility to build a sitemap
    1. 66%
    2. 628
  110. esast-util-from-estree

    esast utility to transform from estree
    1. 66%
    2. 28m
    3. 0.954 B
  111. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 58
  112. nlcst-test

    nlcst utility to check assert an nlcst node
    1. 66%
    2. 171
    3. 0.954 B
  113. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 49
  114. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 117
    3. 0.954 B
  115. hast-util-labelable

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

    hast utility to merge class names together
    1. 66%
    2. 1.2m
    3. 497 B
  117. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 138
  118. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 6.3k
  119. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 1.1k
  120. vfile-is

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

    hast utility to check if a node is interactive
    1. 65%
    2. 263k
  122. esast-util-from-js

    estree (and esast) utility to parse from JavaScript
    1. 65%
    2. 27m
  123. hast-util-from-html

    hast utility to parse from HTML
    1. 65%
    2. 44m
  124. hast-util-truncate

    hast utility to truncate the tree to a certain number of characters
    1. 64%
    2. 75k
    3. 0.954 B
  125. hast-util-excerpt

    hast utility to excerpt the tree to a comment
    1. 64%
    2. 71k
    3. 0.954 B
  126. estree-util-to-js

    estree (and esast) utility to serialize to JavaScript
    1. 64%
    2. 32m
    3. 4.77 B
  127. unist-util-to-string-with-nodes

    functionality that generates string with nodes corresponding to each character provided.
    1. 56%
    2. 445
  128. unist-util-to-list-of-char

    functionality that helps generating list of characters in all visible text inside give node tree
    1. 55%
    2. 13k
  129. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 43%
    2. 2.7k
  130. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 41%
    2. 2.9k
  131. Find other packages matching util on npm