unified

Explore/Keyword/util

Packages matching util

  1. unist-util-visit

    unist utility to visit nodes
    1. 82%
    2. 21m
    3. 801 B
  2. unist-util-is

    unist utility to check if a node passes a test
    1. 81%
    2. 26m
    3. 558 B
  3. mdast-util-to-string

    mdast utility to get the plain text content of a node
    1. 81%
    2. 18m
    3. 303 B
  4. unist-util-visit-parents

    unist utility to recursively walk over nodes, with ancestral information
    1. 80%
    2. 23m
    3. 763 B
  5. hastscript

    hast utility to create trees
    1. 80%
    2. 15m
    3. 6.93 kB
  6. vfile-message

    vfile utility to create a virtual message
    1. 80%
    2. 24m
    3. 611 B
  7. mdast-util-to-hast

    mdast utility to transform to hast
    1. 80%
    2. 10m
  8. unist-builder

    unist utility to create a new trees with a nice syntax
    1. 80%
    2. 10m
    3. 250 B
  9. unist-util-stringify-position

    unist utility to serialize a node, position, or point as a human readable location
    1. 79%
    2. 24m
    3. 301 B
  10. unist-util-remove

    unist utility to remove nodes from a tree
    1. 78%
    2. 9m
    3. 513 B
  11. mdast-util-definitions

    mdast utility to find definition nodes in a tree
    1. 78%
    2. 12m
    3. 898 B
  12. unist-util-position

    unist utility to get the position of a node
    1. 78%
    2. 10m
    3. 272 B
  13. unist-util-generated

    unist utility to check if a node is generated
    1. 78%
    2. 10m
    3. 203 B
  14. unist-util-remove-position

    unist utility to remove positions from a tree
    1. 78%
    2. 17m
    3. 782 B
  15. vfile-location

    vfile utility to convert between positional (line and column-based) and offset (range-based) locations
    1. 78%
    2. 17m
    3. 394 B
  16. mdast-util-to-markdown

    mdast utility to serialize markdown
    1. 78%
    2. 9m
    3. 4.48 kB
  17. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 77%
    2. 12m
    3. 340 B
  18. mdast-util-from-markdown

    mdast utility to parse markdown
    1. 77%
    2. 9m
    3. 14.4 kB
  19. unist-util-find-all-after

    unist utility to find nodes after another node
    1. 77%
    2. 10m
    3. 552 B
  20. hast-to-hyperscript

    hast utility to transform to something else (react, vue, etc) through a hyperscript DSL
    1. 77%
    2. 9m
    3. 7.93 kB
  21. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 77%
    2. 10m
    3. 7.88 kB
  22. hast-util-raw

    hast utility to reparse a tree
    1. 76%
    2. 9m
    3. 58.3 kB
  23. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 76%
    2. 9m
    3. 8.53 kB
  24. mdast-squeeze-paragraphs

    mdast utility to remove empty paragraphs from a tree
    1. 76%
    2. 8m
    3. 583 B
  25. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 74%
    2. 2m
    3. 550 B
  26. vfile-reporter

    vfile utility to create a report for a file
    1. 74%
    2. 988k
    3. 5.73 kB
  27. unist-util-select

    unist utility to select nodes with CSS-like selectors
    1. 74%
    2. 717k
    3. 5.09 kB
  28. hast-util-to-html

    hast utility to serialize to HTML
    1. 74%
    2. 2m
    3. 10.8 kB
  29. mdast-util-toc

    mdast utility to generate a table of contents from a tree
    1. 74%
    2. 1m
    3. 3.32 kB
  30. hast-util-sanitize

    hast utility to sanitize nodes
    1. 73%
    2. 756k
    3. 1.97 kB
  31. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 73%
    2. 2m
    3. 234 B
  32. mdast-util-find-and-replace

    mdast utility to find and replace text in a tree
    1. 73%
    2. 1m
    3. 1.25 kB
  33. to-vfile

    vfile utility to create a vfile from a filepath
    1. 73%
    2. 711k
    3. 2.39 kB
  34. mdast-util-gfm

    mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
    1. 73%
    2. 1m
    3. 5.19 kB
  35. mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 72%
    2. 961k
    3. 6.37 kB
  36. unist-util-map

    unist utility to create a new tree by mapping all nodes
    1. 72%
    2. 422k
    3. 228 B
  37. mdast-util-gfm-autolink-literal

    mdast extension to parse and serialize GFM autolink literals
    1. 72%
    2. 1m
    3. 2.75 kB
  38. mdast-util-gfm-table

    mdast extension to parse and serialize GFM tables
    1. 72%
    2. 1m
    3. 1.84 kB
  39. mdast-util-compact

    mdast utility to make a tree compact
    1. 72%
    2. 7m
  40. nlcst-to-string

    nlcst utility to transform a tree to a string
    1. 72%
    2. 779k
    3. 317 B
  41. mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 72%
    2. 1m
    3. 550 B
  42. unist-util-modify-children

    unist utility to modify direct children of a parent
    1. 72%
    2. 973k
    3. 404 B
  43. mdast-util-mdx-expression

    mdast extension to parse and serialize MDX (or MDX.js) expressions
    1. 72%
    2. 969k
    3. 705 B
  44. vfile-sort

    vfile utility to sort messages by line/column
    1. 72%
    2. 797k
    3. 299 B
  45. mdast-util-mdxjs-esm

    mdast extension to parse and serialize MDX.js ESM (import/exports)
    1. 72%
    2. 971k
    3. 317 B
  46. hast-util-has-property

    hast utility to check if a node has a property
    1. 72%
    2. 532k
    3. 243 B
  47. mdast-util-gfm-task-list-item

    mdast extension to parse and serialize GFM task list items
    1. 72%
    2. 1m
  48. vfile-statistics

    vfile utility to count messages per category: failures, warnings, etc
    1. 72%
    2. 835k
    3. 319 B
  49. unist-util-find-after

    unist utility to find a node after another node
    1. 71%
    2. 285k
    3. 545 B
  50. unist-util-inspect

    unist utility to inspect nodes
    1. 71%
    2. 407k
    3. 946 B
  51. unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 71%
    2. 769k
    3. 243 B
  52. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 261k
    3. 1.86 kB
  53. mdast-util-mdx-jsx

    mdast extension to parse and serialize MDX or MDX.js JSX
    1. 71%
    2. 973k
  54. unist-util-filter

    unist utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 140k
    3. 549 B
  55. mdast-util-to-nlcst

    mdast utility to transform to nlcst
    1. 71%
    2. 790k
    3. 1.22 kB
  56. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 71%
    2. 69k
    3. 12.7 kB
  57. mdast-comment-marker

    mdast utility to parse a comment marker
    1. 71%
    2. 359k
    3. 501 B
  58. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 70%
    2. 303k
  59. mdast-util-heading-style

    mdast utility to get the style of a heading
    1. 70%
    2. 268k
    3. 301 B
  60. nlcst-search

    nlcst utility to search for patterns in a tree
    1. 69%
    2. 84k
    3. 1.71 kB
  61. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 69%
    2. 49k
    3. 7.23 kB
  62. mdast-util-math

    mdast extension to parse and serialize math
    1. 69%
    2. 92k
    3. 1.59 kB
  63. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 69%
    2. 55k
    3. 258 B
  64. mdast-util-footnote

    mdast extension to parse and serialize footnotes
    1. 69%
    2. 334k
    3. 1.91 kB
  65. nlcst-is-literal

    nlcst utility to check whether a node is meant literally
    1. 69%
    2. 99k
    3. 766 B
  66. mdast-util-frontmatter

    mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
    1. 69%
    2. 220k
    3. 1.35 kB
  67. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 69%
    2. 94k
    3. 1.14 kB
  68. vfile-find-up

    vfile utility to find one or more files by searching the file system upwards
    1. 69%
    2. 78k
    3. 2.69 kB
  69. unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 69%
    2. 10k
    3. 348 B
  70. mdast-util-heading-range

    mdast utility to use headings as ranges in mdast
    1. 68%
    2. 28k
    3. 672 B
  71. nlcst-normalize

    nlcst utility to normalize a word for easier comparison
    1. 68%
    2. 83k
    3. 400 B
  72. mdast-util-phrasing

    mdast utility to check if a node is phrasing content
    1. 68%
    2. 129k
    3. 459 B
  73. mdast-util-directive

    mdast extension to parse and serialize generic directives (:cite[smith04])
    1. 68%
    2. 17k
    3. 4.24 kB
  74. vfile-find-down

    vfile utility to find one or more files by searching the file system downwards
    1. 68%
    2. 9k
    3. 2.86 kB
  75. unist-util-source

    unist utility to get the source of a value
    1. 68%
    2. 5k
    3. 526 B
  76. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 68%
    2. 25k
    3. 12.3 kB
  77. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 65k
    3. 2.38 kB
  78. unist-util-find-all-before

    unist utility to find nodes before another node
    1. 68%
    2. 8k
    3. 566 B
  79. micromark-util-character

    micromark utility to handle character codes
    1. 68%
    2. 21k
    3. 986 B
  80. unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 68%
    2. 22k
    3. 293 B
  81. vfile-reporter-pretty

    vfile utility to create a pretty report for a file
    1. 68%
    2. 1k
  82. mdast-zone

    mdast utility to treat HTML comments as ranges or markers
    1. 68%
    2. 16k
    3. 1.25 kB
  83. xastscript

    xast utility to create trees
    1. 68%
    2. 5k
    3. 503 B
  84. unist-util-find-before

    unist utility to find a node before another node
    1. 68%
    2. 3k
    3. 555 B
  85. xast-util-to-xml

    xast utility to serialize to XML
    1. 68%
    2. 5k
    3. 2.92 kB
  86. unist-util-index

    unist utility to index property values or computed keys to nodes
    1. 68%
    2. 2k
    3. 902 B
  87. micromark-util-chunked

    micromark utility to splice and push with giant arrays
    1. 68%
    2. 10k
    3. 313 B
  88. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 2k
    3. 6.46 kB
  89. vfile-to-eslint

    vfile utility to convert to ESLint formatter compatible output
    1. 67%
    2. 1k
    3. 503 B
  90. micromark-util-resolve-all

    micromark utility to resolve subtokens
    1. 67%
    2. 10k
    3. 220 B
  91. vfile-reporter-json

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

    unist utility to assert nodes
    1. 67%
    2. 2k
    3. 892 B
  93. nlcst-emoji-modifier

    nlcst utility to support emoji
    1. 67%
    2. 11k
    3. 19.1 kB
  94. micromark-util-normalize-identifier

    micromark utility normalize identifiers (as found in references, definitions)
    1. 67%
    2. 10k
    3. 215 B
  95. micromark-util-subtokenize

    micromark utility to tokenize subtokens
    1. 67%
    2. 10k
    3. 977 B
  96. hast-util-heading

    hast utility to check if a node is a heading element
    1. 67%
    2. 5k
    3. 423 B
  97. nlcst-emoticon-modifier

    nlcst utility to support emoticons in nlcst
    1. 67%
    2. 11k
    3. 2.29 kB
  98. nlcst-affix-emoticon-modifier

    nlcst utility to merge affix emoticons into the previous sentence
    1. 67%
    2. 11k
    3. 543 B
  99. mdast-util-assert

    mdast utility to assert trees
    1. 67%
    2. 978
    3. 1.91 kB
  100. micromark-util-combine-extensions

    micromark utility to combine syntax or html extensions
    1. 67%
    2. 10k
    3. 502 B
  101. micromark-util-classify-character

    micromark utility to classify whether a character is whitespace or punctuation
    1. 67%
    2. 10k
    3. 833 B
  102. micromark-util-sanitize-uri

    micromark utility to sanitize urls
    1. 67%
    2. 10k
    3. 1.21 kB
  103. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 67%
    2. 3k
    3. 1.38 kB
  104. xast-util-from-xml

    xast utility to parse from XML
    1. 67%
    2. 226
    3. 8.33 kB
  105. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 154
    3. 6.64 kB
  106. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 67%
    2. 288
    3. 9.57 kB
  107. unist-util-size

    unist utility to calculate the number of nodes in a tree
    1. 67%
    2. 593
  108. hast-util-classnames

    hast utility to merge class names together
    1. 67%
    2. 110
    3. 500 B
  109. estree-util-visit

    esast (and estree) utility to visit nodes
    1. 66%
    2. 8k
    3. 581 B
  110. xast-util-to-string

    xast utility to get the text value of a node
    1. 66%
    2. 32
    3. 257 B
  111. mdast-normalize-headings

    mdast utility to make sure there is no more than a single top-level heading in the document
    1. 66%
    2. 2k
    3. 824 B
  112. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 72
    3. 416 B
  113. vfile-matter

    vfile utility to parse the YAML front matter in a file
    1. 66%
    2. 692
    3. 9.68 kB
  114. vfile-reporter-folder-json

    vfile utility to create a JSON representation of files
    1. 66%
    2. 44
    3. 392 B
  115. vfile-rename

    vfile utility to rename the path parts of a file
    1. 66%
    2. 162
    3. 2.45 kB
  116. nlcst-test

    nlcst utility to check assert an nlcst node
    1. 66%
    2. 138
    3. 1.29 kB
  117. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 70
    3. 480 B
  118. xast-util-sitemap

    xast utility to build a sitemap
    1. 66%
    2. 33
    3. 20.8 kB
  119. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 98
    3. 922 B
  120. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 63
    3. 276 B
  121. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 66%
    2. 118
    3. 661 B
  122. vfile-mkdirp

    vfile utility to make sure the directory of a file exists on the file system
    1. 66%
    2. 114
    3. 1.44 kB
  123. xast-util-feed

    xast utility to build feeds (rss, atom)
    1. 66%
    2. 144
    3. 21.5 kB
  124. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 81
    3. 1.31 kB
  125. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 61
    3. 345 B
  126. vfile-is

    vfile utility to check if a vfile passes a test
    1. 66%
    2. 40
    3. 4.55 kB
  127. esast-util-from-estree

    esast utility to transform from estree
    1. 65%
    2. 37
    3. 934 B
  128. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 65%
    2. 63
    3. 417 B
  129. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 116
    3. 417 B
  130. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 59%
    2. 1k
    3. 378 B
  131. unist-util-to-string-with-nodes

    functionality that generates string with nodes corresponding to each character provided.
    1. 59%
    2. 48
    3. 1.04 kB
  132. 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. 986 B
  133. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 55%
    2. 3k
    3. 340 B
  134. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 53%
    2. 1k
    3. 932 B
  135. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 49%
    2. 161k
    3. 484 B
  136. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 47%
    2. 71
    3. 856 B
  137. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 45%
    2. 26
    3. 6.4 kB
  138. Find other packages matching util on npm