unist-util-visit
unist utility to visit nodes- 85%
- 66m
- 347 B
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 83%
- 68m
unist-util-is
unist utility to check if a node passes a test- 83%
- 69m
- 596 B
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 29m
- 3.81 B
hastscript
hast utility to create trees- 82%
- 24m
- 6.68 B
unist-util-stringify-position
unist utility to serialize a node, position, or point as a human readable location- 82%
- 58m
- 278 B
mdast-util-to-string
mdast utility to get the plain text content of a node- 82%
- 54m
- 369 B
vfile-message
vfile utility to create a virtual message- 82%
- 51m
- 718 B
unist-builder
unist utility to create a new trees with a nice syntax- 82%
- 12m
- 247 B
vfile-location
vfile utility to convert between positional (line and column-based) and offset (range-based) locations- 81%
- 22m
- 448 B
unist-util-remove-position
unist utility to remove positions from a tree- 81%
- 21m
- 351 B
unist-util-position
unist utility to get the position of a node- 81%
- 30m
- 313 B
unist-util-generated
unist utility to check if a node is generated- 81%
- 17m
- 203 B
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 81%
- 23m
- 345 B
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 81%
- 16m
- 7.63 B
mdast-util-definitions
mdast utility to find definition nodes in a tree- 80%
- 24m
- 432 B
mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 39m
- 24.8 B
unist-util-remove
unist utility to remove nodes from a tree- 80%
- 7.5m
- 586 B
hast-util-raw
hast utility to reparse a tree- 80%
- 14m
- 54.4 B
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 14m
- 5.72 B
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 80%
- 5.8m
micromark-util-character
micromark utility to handle character codes- 79%
- 39m
- 453 B
micromark-util-subtokenize
micromark utility to tokenize subtokens- 79%
- 28m
- 0.954 B
micromark-util-sanitize-uri
micromark utility to sanitize urls- 79%
- 30m
- 662 B
micromark-util-normalize-identifier
micromark utility normalize identifiers (as found in references, definitions)- 79%
- 28m
- 215 B
micromark-util-chunked
micromark utility to splice and push with giant arrays- 79%
- 28m
- 305 B
micromark-util-resolve-all
micromark utility to resolve subtokens- 79%
- 28m
- 220 B
micromark-util-classify-character
micromark utility to classify whether a character is whitespace or punctuation- 79%
- 28m
- 329 B
micromark-util-combine-extensions
micromark utility to combine syntax or html extensions- 79%
- 28m
- 492 B
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references- 79%
- 28m
- 298 B
micromark-util-decode-string
micromark utility to decode markdown strings- 79%
- 28m
- 10.5 B
mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 31m
- 17.2 B
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 77%
- 22m
- 229 B
mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 76%
- 18m
- 0.954 B
mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 76%
- 17m
- 6.68 B
mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 76%
- 17m
- 4.77 B
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 75%
- 17m
- 1.91 B
mdast-util-gfm-strikethrough
mdast extension to parse and serialize GFM strikethrough- 75%
- 17m
- 452 B
hast-util-to-html
hast utility to serialize to HTML- 75%
- 7.7m
- 9.54 B
mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 75%
- 17m
- 3.81 B
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 15m
- 585 B
unist-util-find-all-after
unist utility to find nodes after another node- 75%
- 4.3m
- 610 B
hast-util-sanitize
hast utility to sanitize nodes- 74%
- 2.7m
- 2.86 B
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 12m
- 256 B
estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 7.6m
mdast-util-mdx-jsx
mdast extension to parse and serialize MDX or MDX.js JSX- 74%
- 13m
- 16.2 B
mdast-util-compact
mdast utility to make a tree compact- 74%
- 3m
- 463 B
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 7.5m
- 16.2 B
unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 7.4m
- 336 B
mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 73%
- 13m
- 400 B
mdast-util-mdx-expression
mdast extension to parse and serialize MDX (or MDX.js) expressions- 73%
- 13m
- 525 B
mdast-util-frontmatter
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)- 73%
- 5.5m
- 0.954 B
mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 14m
- 754 B
hast-util-has-property
hast utility to check if a node has a property- 73%
- 2.9m
- 224 B
nlcst-to-string
nlcst utility to transform a tree to a string- 73%
- 2.4m
- 291 B
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 3.6m
- 0.954 B
unist-util-find-after
unist utility to find a node after another node- 73%
- 3.7m
- 600 B
to-vfile
vfile utility to create a vfile from a filepath- 73%
- 1.3m
- 0.954 B
unist-util-modify-children
unist utility to modify direct children of a parent- 72%
- 2.3m
- 413 B
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 9.9m
- 255 B
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 1.4m
- 13.4 B
vfile-sort
vfile utility to sort messages by line/column- 72%
- 2.4m
- 299 B
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc- 72%
- 2.4m
- 356 B
mdast-util-toc
mdast utility to generate a table of contents from a tree- 72%
- 1.2m
- 4.77 B
unist-util-select
unist utility to select nodes with CSS-like selectors- 72%
- 760k
- 5.72 B
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 6.1m
- 8.58 B
unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 2.1m
- 241 B
unist-util-inspect
unist utility to inspect nodes- 72%
- 1.7m
- 0.954 B
vfile-reporter
vfile utility to create a report for a file- 71%
- 2.5m
unist-util-map
unist utility to create a new tree by mapping all nodes- 71%
- 420k
- 229 B
mdast-comment-marker
mdast utility to parse a comment marker- 71%
- 909k
- 566 B
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 71%
- 1.5m
- 623 B
mdast-util-heading-style
mdast utility to get the style of a heading- 71%
- 656k
- 304 B
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 71%
- 882k
- 312 B
mdast-util-to-nlcst
mdast utility to transform to nlcst- 71%
- 479k
- 0.954 B
hast-util-from-dom
hast utility to create a tree from the DOM- 70%
- 1.6m
- 6.68 B
vfile-find-up
vfile utility to find one or more files by searching the file system upwards- 70%
- 137k
- 707 B
vfile-matter
vfile utility to parse the YAML front matter in a file- 70%
- 841k
- 28.6 B
hast-util-phrasing
hast utility to check if a node is phrasing content- 70%
- 865k
- 845 B
nlcst-search
nlcst utility to search for patterns in a tree- 70%
- 117k
- 0.954 B
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 70%
- 183k
- 757 B
mdast-util-math
mdast extension to parse and serialize math- 69%
- 2m
- 0.954 B
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 59k
- 795 B
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 240k
- 225 B
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 69%
- 124k
- 383 B
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 1.2m
- 500 B
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 69%
- 22m
- 558 B
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 69%
- 15k
- 932 B
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 94k
- 236 B
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 88k
- 451 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 89k
- 546 B
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 91k
- 414 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 104k
- 1.91 B
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 3.1k
- 465 B
unist-util-source
unist utility to get the source of a value- 68%
- 44k
- 525 B
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 20k
- 485 B
mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 1.9m
- 14.3 B
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 250k
- 0.954 B
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 18k
- 5.72 B
unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8.1k
- 349 B
mdast-normalize-headings
mdast utility to make sure there is no more than a single top-level heading in the document- 67%
- 12k
- 420 B
vfile-reporter-pretty
vfile utility to create a pretty report for a file- 67%
- 2.7k
- 42.9 B
vfile-find-down
vfile utility to find one or more files by searching the file system downwards- 67%
- 31k
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 4.4k
- 35.3 B
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 67%
- 70k
- 1.91 B
nlcst-affix-emoticon-modifier
nlcst utility to merge affix emoticons into the previous sentence- 67%
- 70k
- 558 B
unist-util-find-before
unist utility to find a node before another node- 67%
- 27k
- 613 B
remark-code-blocks
Extract code blocks from an MDAST tree- 67%
- 7.2k
- 335 B
vfile-to-eslint
vfile utility to convert to ESLint formatter compatible output- 67%
- 2.8k
- 600 B
nlcst-emoji-modifier
nlcst utility to support emoji- 67%
- 70k
- 17.2 B
unist-util-find-all-before
unist utility to find nodes before another node- 67%
- 43k
- 625 B
vfile-reporter-json
vfile utility to create a JSON report for a file- 67%
- 8.3k
- 452 B
unist-util-assert
unist utility to assert nodes- 67%
- 8.2k
- 147 B
xastscript
xast utility to create trees- 67%
- 13k
- 504 B
xast-util-from-xml
xast utility to parse from XML- 67%
- 9.8k
- 4.77 B
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 6.9k
- 11.4 B
xast-util-to-xml
xast utility to serialize to XML- 67%
- 19k
- 2.86 B
mdast-util-assert
mdast utility to assert trees- 67%
- 7.1k
- 0.954 B
hast-util-to-xast
hast utility to transform to xast- 67%
- 3.4k
- 5.72 B
vfile-rename
vfile utility to rename the path parts of a file- 67%
- 1.9k
- 617 B
xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 2.1k
- 57.2 B
unist-util-size
unist utility to calculate the number of nodes in a tree- 66%
- 116
- 528 B
xast-util-sitemap
xast utility to build a sitemap- 66%
- 285
- 57.2 B
xast-util-to-string
xast utility to get the text value of a node- 66%
- 5.1k
- 257 B
esast-util-from-estree
esast utility to transform from estree- 66%
- 1.2m
- 669 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 38
- 544 B
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 66
- 708 B
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 10
- 471 B
hast-util-assert
hast utility to assert nodes- 66%
- 51
- 755 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 11
- 257 B
hast-util-classnames
hast utility to merge class names together- 66%
- 205k
- 497 B
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 274
- 352 B
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 3.8k
- 519 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 36
- 469 B
vfile-is
vfile utility to check if a vfile passes a test- 66%
- 1.1k
- 7.63 B
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 6.5k
- 388 B
esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 1.2m
- 32.4 B
hast-util-from-html
hast utility to parse from HTML- 65%
- 3.5m
- 55.3 B
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 53k
- 0.954 B
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 53k
- 0.954 B
estree-util-to-js
estree (and esast) utility to serialize to JavaScript- 64%
- 5.9m
- 3.81 B
unist-util-to-string-with-nodes
functionality that generates string with nodes corresponding to each character provided.- 56%
- 26
- 0.954 B
unist-util-to-list-of-char
functionality that helps generating list of characters in all visible text inside give node tree- 55%
- 6.9k
- 947 B
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 43%
- 1.4k
- 856 B
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 41%
- 1.4k
- 5.72 B
Find other packages matching util on npm