unist-util-visit
unist utility to visit nodes- 85%
- 67m
- 347 B
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 83%
- 69m
unist-util-is
unist utility to check if a node passes a test- 83%
- 70m
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 29m
- 4.78 kB
hastscript
hast utility to create trees- 82%
- 24m
- 7.06 kB
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%
- 21m
- 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
- 8.26 kB
mdast-util-definitions
mdast utility to find definition nodes in a tree- 80%
- 25m
- 432 B
mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 39m
- 26.9 kB
unist-util-remove
unist utility to remove nodes from a tree- 80%
- 7.7m
hast-util-raw
hast utility to reparse a tree- 80%
- 14m
- 57.8 kB
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 14m
- 6.83 kB
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 80%
- 6m
micromark-util-character
micromark utility to handle character codes- 79%
- 38m
micromark-util-subtokenize
micromark utility to tokenize subtokens- 79%
- 27m
- 1.46 kB
micromark-util-sanitize-uri
micromark utility to sanitize urls- 79%
- 30m
micromark-util-normalize-identifier
micromark utility normalize identifiers (as found in references, definitions)- 79%
- 27m
- 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
micromark-util-classify-character
micromark utility to classify whether a character is whitespace or punctuation- 79%
- 28m
micromark-util-combine-extensions
micromark utility to combine syntax or html extensions- 79%
- 27m
- 492 B
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references- 79%
- 28m
micromark-util-decode-string
micromark utility to decode markdown strings- 79%
- 28m
mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 31m
- 18.2 kB
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 77%
- 21m
- 229 B
mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 76%
- 17m
- 1.03 kB
mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 76%
- 16m
mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 76%
- 17m
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 75%
- 16m
- 2 kB
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.2m
- 10.9 kB
mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 75%
- 17m
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 16m
- 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.6m
- 3.13 kB
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 13m
- 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
- 17.2 kB
mdast-util-compact
mdast utility to make a tree compact- 74%
- 2.8m
- 463 B
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 7.6m
- 17.4 kB
unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 7.5m
- 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.6m
- 1.46 kB
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.8m
- 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.5m
unist-util-find-after
unist utility to find a node after another node- 73%
- 3.6m
to-vfile
vfile utility to create a vfile from a filepath- 73%
- 1.3m
- 1.85 kB
unist-util-modify-children
unist utility to modify direct children of a parent- 72%
- 2.3m
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 11m
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 1.4m
- 14.4 kB
vfile-sort
vfile utility to sort messages by line/column- 72%
- 2.3m
- 299 B
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc- 72%
- 2.3m
- 356 B
mdast-util-toc
mdast utility to generate a table of contents from a tree- 72%
- 1.1m
- 5.75 kB
unist-util-select
unist utility to select nodes with CSS-like selectors- 72%
- 778k
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 6.1m
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.8m
- 1.11 kB
vfile-reporter
vfile utility to create a report for a file- 71%
- 2.4m
unist-util-map
unist utility to create a new tree by mapping all nodes- 71%
- 437k
mdast-comment-marker
mdast utility to parse a comment marker- 71%
- 843k
- 566 B
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 71%
- 1.4m
- 623 B
mdast-util-heading-style
mdast utility to get the style of a heading- 71%
- 620k
- 304 B
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 71%
- 854k
- 312 B
mdast-util-to-nlcst
mdast utility to transform to nlcst- 71%
- 475k
hast-util-from-dom
hast utility to create a tree from the DOM- 70%
- 1.6m
vfile-find-up
vfile utility to find one or more files by searching the file system upwards- 70%
- 133k
vfile-matter
vfile utility to parse the YAML front matter in a file- 70%
- 858k
- 30.8 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 70%
- 839k
- 845 B
nlcst-search
nlcst utility to search for patterns in a tree- 70%
- 116k
- 1.29 kB
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 70%
- 182k
- 757 B
mdast-util-math
mdast extension to parse and serialize math- 69%
- 1.9m
- 1.24 kB
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 64k
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 189k
- 225 B
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 69%
- 121k
- 383 B
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 1.1m
- 500 B
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 69%
- 21m
- 558 B
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 69%
- 14k
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 89k
- 236 B
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 83k
- 451 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 83k
- 546 B
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 86k
- 414 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 103k
- 2.42 kB
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 3.4k
unist-util-source
unist utility to get the source of a value- 68%
- 48k
- 525 B
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 18k
- 485 B
mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 2m
- 15.7 kB
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 256k
- 1.07 kB
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 20k
- 6.54 kB
unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8k
- 349 B
mdast-normalize-headings
mdast utility to make sure there is no more than a single top-level heading in the document- 67%
- 13k
vfile-reporter-pretty
vfile utility to create a pretty report for a file- 67%
- 2.6k
- 45.7 kB
vfile-find-down
vfile utility to find one or more files by searching the file system downwards- 67%
- 20k
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 4.1k
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 67%
- 69k
nlcst-affix-emoticon-modifier
nlcst utility to merge affix emoticons into the previous sentence- 67%
- 69k
unist-util-find-before
unist utility to find a node before another node- 67%
- 30k
- 613 B
remark-code-blocks
Extract code blocks from an MDAST tree- 67%
- 6.6k
- 335 B
vfile-to-eslint
vfile utility to convert to ESLint formatter compatible output- 67%
- 2.6k
nlcst-emoji-modifier
nlcst utility to support emoji- 67%
- 69k
- 18.6 kB
unist-util-find-all-before
unist utility to find nodes before another node- 67%
- 44k
vfile-reporter-json
vfile utility to create a JSON report for a file- 67%
- 7.9k
- 452 B
unist-util-assert
unist utility to assert nodes- 67%
- 5.4k
- 147 B
xastscript
xast utility to create trees- 67%
- 16k
- 504 B
xast-util-from-xml
xast utility to parse from XML- 67%
- 9.7k
- 5.75 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 6.2k
xast-util-to-xml
xast utility to serialize to XML- 67%
- 23k
- 2.95 kB
mdast-util-assert
mdast utility to assert trees- 67%
- 4.4k
- 1.44 kB
hast-util-to-xast
hast utility to transform to xast- 67%
- 5.1k
- 6.81 kB
vfile-rename
vfile utility to rename the path parts of a file- 67%
- 1.8k
xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 1.9k
unist-util-size
unist utility to calculate the number of nodes in a tree- 66%
- 131
- 528 B
xast-util-sitemap
xast utility to build a sitemap- 66%
- 361
xast-util-to-string
xast utility to get the text value of a node- 66%
- 5.2k
- 257 B
esast-util-from-estree
esast utility to transform from estree- 66%
- 934k
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 44
- 544 B
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 154
- 708 B
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 7
- 471 B
hast-util-assert
hast utility to assert nodes- 66%
- 48
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 11
hast-util-classnames
hast utility to merge class names together- 66%
- 195k
- 497 B
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 207
- 352 B
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 3.3k
- 519 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 32
- 469 B
vfile-is
vfile utility to check if a vfile passes a test- 66%
- 1.9k
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 4.8k
- 388 B
esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 935k
- 34.2 kB
hast-util-from-html
hast utility to parse from HTML- 65%
- 3.4m
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 56k
- 1.5 kB
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 55k
- 1.71 kB
estree-util-to-js
estree (and esast) utility to serialize to JavaScript- 64%
- 5.9m
- 4.85 kB
unist-util-to-string-with-nodes
functionality that generates string with nodes corresponding to each character provided.- 56%
- 32
unist-util-to-list-of-char
functionality that helps generating list of characters in all visible text inside give node tree- 55%
- 6.4k
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 43%
- 2.2k
- 856 B
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 41%
- 2.2k
- 6.4 kB
Find other packages matching util on npm