unist-util-visit
unist utility to visit nodes- 85%
- 86m
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 83%
- 90m
unist-util-is
unist utility to check if a node passes a test- 83%
- 92m
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 46m
hastscript
hast utility to create trees- 82%
- 39m
unist-util-stringify-position
unist utility to serialize a node, position, or point as a human readable location- 82%
- 86m
mdast-util-to-string
mdast utility to get the plain text content of a node- 82%
- 76m
vfile-message
vfile utility to create a virtual message- 82%
- 76m
unist-builder
unist utility to create a new trees with a nice syntax- 82%
- 17m
vfile-location
vfile utility to convert between positional (line and column-based) and offset (range-based) locations- 81%
- 33m
unist-util-remove-position
unist utility to remove positions from a tree- 81%
- 27m
unist-util-position
unist utility to get the position of a node- 81%
- 48m
unist-util-generated
unist utility to check if a node is generated- 81%
- 22m
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 81%
- 37m
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 81%
- 26m
mdast-util-definitions
mdast utility to find definition nodes in a tree- 80%
- 30m
unist-util-remove
unist utility to remove nodes from a tree- 80%
- 12m
hast-util-raw
hast utility to reparse a tree- 80%
- 22m
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 21m
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 80%
- 8.8m
micromark-util-character
micromark utility to handle character codes- 79%
- 62m
micromark-util-subtokenize
micromark utility to tokenize subtokens- 79%
- 45m
micromark-util-sanitize-uri
micromark utility to sanitize urls- 79%
- 48m
micromark-util-normalize-identifier
micromark utility normalize identifiers (as found in references, definitions)- 79%
- 45m
micromark-util-chunked
micromark utility to splice and push with giant arrays- 79%
- 45m
micromark-util-resolve-all
micromark utility to resolve subtokens- 79%
- 45m
micromark-util-classify-character
micromark utility to classify whether a character is whitespace or punctuation- 79%
- 45m
micromark-util-combine-extensions
micromark utility to combine syntax or html extensions- 79%
- 44m
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references- 79%
- 45m
micromark-util-decode-string
micromark utility to decode markdown strings- 79%
- 43m
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 77%
- 35m
hast-util-to-html
hast utility to serialize to HTML- 75%
- 13m
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 15m
unist-util-find-all-after
unist utility to find nodes after another node- 75%
- 5.5m
hast-util-sanitize
hast utility to sanitize nodes- 74%
- 4.3m
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 9.8m
estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 11m
mdast-util-mdx-jsx
mdast extension to parse and serialize MDX or MDX.js JSX- 74%
- 23m
mdast-util-compact
mdast utility to make a tree compact- 74%
- 4.7m
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 11m
unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 11m
mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 24m
hast-util-has-property
hast utility to check if a node has a property- 73%
- 5.1m
nlcst-to-string
nlcst utility to transform a tree to a string- 73%
- 4.1m
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 7.1m
unist-util-find-after
unist utility to find a node after another node- 73%
- 7.2m
to-vfile
vfile utility to create a vfile from a filepath- 73%
- 2.4m
unist-util-modify-children
unist utility to modify direct children of a parent- 72%
- 4.1m
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 6.5m
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 2.5m
vfile-sort
vfile utility to sort messages by line/column- 72%
- 3.2m
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc- 72%
- 3.1m
mdast-util-toc
mdast utility to generate a table of contents from a tree- 72%
- 1.9m
unist-util-select
unist utility to select nodes with CSS-like selectors- 72%
- 995k
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 9m
unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 3.8m
unist-util-inspect
unist utility to inspect nodes- 72%
- 2.3m
vfile-reporter
vfile utility to create a report for a file- 71%
- 3.3m
unist-util-map
unist utility to create a new tree by mapping all nodes- 71%
- 942k
mdast-comment-marker
mdast utility to parse a comment marker- 71%
- 1.1m
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 71%
- 2.6m
mdast-util-heading-style
mdast utility to get the style of a heading- 71%
- 778k
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 71%
- 1.9m
mdast-util-to-nlcst
mdast utility to transform to nlcst- 71%
- 661k
hast-util-from-dom
hast utility to create a tree from the DOM- 70%
- 3.1m
vfile-find-up
vfile utility to find one or more files by searching the file system upwards- 70%
- 300k
vfile-matter
vfile utility to parse the YAML front matter in a file- 70%
- 1.3m
hast-util-phrasing
hast utility to check if a node is phrasing content- 70%
- 1.9m
nlcst-search
nlcst utility to search for patterns in a tree- 70%
- 189k
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 70%
- 238k
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 130k
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 312k
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 69%
- 200k
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 2.3m
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 69%
- 35m
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 69%
- 22k
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 101k
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 97k
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 97k
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 109k
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 186k
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 3.3k
unist-util-source
unist utility to get the source of a value- 68%
- 57k
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 22k
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 492k
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 36k
unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 14k
vfile-reporter-pretty
vfile utility to create a pretty report for a file- 67%
- 6.2k
vfile-find-down
vfile utility to find one or more files by searching the file system downwards- 67%
- 92k
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 8.6k
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 67%
- 65k
nlcst-affix-emoticon-modifier
nlcst utility to merge affix emoticons into the previous sentence- 67%
- 65k
unist-util-find-before
unist utility to find a node before another node- 67%
- 23k
remark-code-blocks
Extract code blocks from an MDAST tree- 67%
- 6.2k
vfile-to-eslint
vfile utility to convert to ESLint formatter compatible output- 67%
- 6.2k
nlcst-emoji-modifier
nlcst utility to support emoji- 67%
- 65k
unist-util-find-all-before
unist utility to find nodes before another node- 67%
- 99k
vfile-reporter-json
vfile utility to create a JSON report for a file- 67%
- 12k
unist-util-assert
unist utility to assert nodes- 67%
- 4k
xastscript
xast utility to create trees- 67%
- 13k
xast-util-from-xml
xast utility to parse from XML- 67%
- 10k
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 27k
xast-util-to-xml
xast utility to serialize to XML- 67%
- 48k
mdast-util-assert
mdast utility to assert trees- 67%
- 2.8k
hast-util-to-xast
hast utility to transform to xast- 67%
- 28k
vfile-rename
vfile utility to rename the path parts of a file- 67%
- 2.1k
xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 2.5k
unist-util-size
unist utility to calculate the number of nodes in a tree- 66%
- 296
xast-util-sitemap
xast utility to build a sitemap- 66%
- 425
esast-util-from-estree
esast utility to transform from estree- 66%
- 3.8m
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 63
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 103
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 9
hast-util-assert
hast utility to assert nodes- 66%
- 101
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 14
hast-util-classnames
hast utility to merge class names together- 66%
- 322k
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 1k
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 3.7k
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 32
vfile-is
vfile utility to check if a vfile passes a test- 66%
- 879
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 46k
esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 4m
hast-util-from-html
hast utility to parse from HTML- 65%
- 7m
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 56k
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 55k
estree-util-to-js
estree (and esast) utility to serialize to JavaScript- 64%
- 8.4m
unist-util-to-string-with-nodes
functionality that generates string with nodes corresponding to each character provided.- 56%
- 553
unist-util-to-list-of-char
functionality that helps generating list of characters in all visible text inside give node tree- 55%
- 83k
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 43%
- 4.7k
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 41%
- 4.1k
Find other packages matching util on npm