unist-util-visit
unist utility to visit nodes- 85%
- 45m
- 811 B
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 83%
- 47m
- 769 B
unist-util-is
unist utility to check if a node passes a test- 83%
- 48m
- 572 B
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 26m
- 5.12 kB
hastscript
hast utility to create trees- 82%
- 25m
- 6.97 kB
unist-util-stringify-position
unist utility to serialize a node, position, or point as a human readable location- 82%
- 43m
- 278 B
mdast-util-to-string
mdast utility to get the plain text content of a node- 82%
- 41m
- 369 B
unist-builder
unist utility to create a new trees with a nice syntax- 82%
- 22m
- 248 B
unist-util-remove-position
unist utility to remove positions from a tree- 81%
- 25m
- 823 B
unist-util-position
unist utility to get the position of a node- 81%
- 26m
- 268 B
unist-util-generated
unist utility to check if a node is generated- 81%
- 25m
- 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%
- 19m
- 7.96 kB
mdast-util-definitions
mdast utility to find definition nodes in a tree- 80%
- 29m
- 896 B
mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 21m
- 27 kB
unist-util-remove
unist utility to remove nodes from a tree- 80%
- 17m
- 528 B
hast-util-raw
hast utility to reparse a tree- 80%
- 19m
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 18m
- 6.68 kB
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 80%
- 16m
- 858 B
mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 16m
- 18 kB
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 77%
- 9m
- 232 B
mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 76%
- 7m
- 1.27 kB
mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 76%
- 7m
- 18.5 kB
mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 76%
- 7m
- 1.96 kB
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 75%
- 7m
- 2.77 kB
mdast-util-gfm-strikethrough
mdast extension to parse and serialize GFM strikethrough- 75%
- 7m
- 817 B
hast-util-to-html
hast utility to serialize to HTML- 75%
- 3m
- 10.7 kB
mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 75%
- 7m
- 1.16 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 3m
- 550 B
unist-util-find-all-after
unist utility to find nodes after another node- 75%
- 7m
- 568 B
hast-util-sanitize
hast utility to sanitize nodes- 74%
- 2m
- 2.01 kB
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 2m
- 256 B
mdast-util-mdx-jsx
mdast extension to parse and serialize MDX or MDX.js JSX- 74%
- 4m
- 17.2 kB
mdast-util-compact
mdast utility to make a tree compact- 74%
- 4m
- 877 B
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 4m
- 17.5 kB
unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 4m
- 310 B
mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 73%
- 4m
- 317 B
mdast-util-mdx-expression
mdast extension to parse and serialize MDX (or MDX.js) expressions- 73%
- 4m
- 419 B
mdast-util-frontmatter
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)- 73%
- 3m
- 1.35 kB
mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 5m
- 13.3 kB
hast-util-has-property
hast utility to check if a node has a property- 73%
- 1m
- 264 B
nlcst-to-string
nlcst utility to transform a tree to a string- 73%
- 1m
- 319 B
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 1m
- 1.74 kB
unist-util-find-after
unist utility to find a node after another node- 73%
- 1m
- 563 B
unist-util-modify-children
unist utility to modify direct children of a parent- 72%
- 1m
- 413 B
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 842k
- 256 B
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 440k
- 12.4 kB
mdast-util-toc
mdast utility to generate a table of contents from a tree- 72%
- 993k
- 5.48 kB
unist-util-select
unist utility to select nodes with CSS-like selectors- 72%
- 587k
- 4.48 kB
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 3m
- 12.7 kB
unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 947k
- 241 B
unist-util-inspect
unist utility to inspect nodes- 72%
- 757k
- 1.07 kB
unist-util-map
unist utility to create a new tree by mapping all nodes- 71%
- 389k
- 229 B
mdast-comment-marker
mdast utility to parse a comment marker- 71%
- 552k
- 607 B
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 71%
- 719k
- 569 B
mdast-util-heading-style
mdast utility to get the style of a heading- 71%
- 448k
- 299 B
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 71%
- 231k
- 709 B
mdast-util-to-nlcst
mdast utility to transform to nlcst- 71%
- 594k
- 1.56 kB
hast-util-to-mdast
hast utility to transform to mdast- 70%
- 143k
- 8.25 kB
hast-util-from-dom
hast utility to create a tree from the DOM- 70%
- 272k
- 7.29 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 70%
- 210k
- 977 B
nlcst-search
nlcst utility to search for patterns in a tree- 70%
- 98k
- 1.73 kB
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 70%
- 133k
- 775 B
mdast-util-math
mdast extension to parse and serialize math- 69%
- 597k
- 1.88 kB
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 54k
- 695 B
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 90k
- 227 B
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 69%
- 100k
- 399 B
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 500k
- 439 B
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 69%
- 5m
- 477 B
mdast-util-footnote
mdast extension to parse and serialize footnotes- 69%
- 747k
- 13.6 kB
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 69%
- 22k
- 1.41 kB
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 29k
- 238 B
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 12k
- 286 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 12k
- 807 B
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 29k
- 250 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 69k
- 2.45 kB
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 6k
- 914 B
unist-util-source
unist utility to get the source of a value- 68%
- 41k
- 554 B
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 5k
- 421 B
mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 182k
- 16.6 kB
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 101k
- 1.4 kB
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 13k
- 6.42 kB
unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8k
- 346 B
mdast-normalize-headings
mdast utility to make sure there is no more than a single top-level heading in the document- 67%
- 12k
- 861 B
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 527
- 37.4 kB
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 67%
- 33k
- 2.3 kB
nlcst-affix-emoticon-modifier
nlcst utility to merge affix emoticons into the previous sentence- 67%
- 33k
- 550 B
unist-util-find-before
unist utility to find a node before another node- 67%
- 8k
- 574 B
nlcst-emoji-modifier
nlcst utility to support emoji- 67%
- 33k
- 18.9 kB
unist-util-find-all-before
unist utility to find nodes before another node- 67%
- 5k
- 583 B
unist-util-assert
unist utility to assert nodes- 67%
- 2k
- 928 B
xastscript
xast utility to create trees- 67%
- 7k
- 504 B
xast-util-from-xml
xast utility to parse from XML- 67%
- 2k
- 5.57 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 5k
- 9.49 kB
xast-util-to-xml
xast utility to serialize to XML- 67%
- 10k
- 2.89 kB
mdast-util-assert
mdast utility to assert trees- 67%
- 2k
- 2.03 kB
hast-util-to-xast
hast utility to transform to xast- 67%
- 439
- 6.69 kB
xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 2k
- 21.7 kB
unist-util-size
unist utility to calculate the number of nodes in a tree- 66%
- 457
- 484 B
xast-util-sitemap
xast utility to build a sitemap- 66%
- 128
- 21.2 kB
xast-util-to-string
xast utility to get the text value of a node- 66%
- 304
- 257 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 54
- 476 B
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 105
- 1.34 kB
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 29
- 414 B
hast-util-assert
hast utility to assert nodes- 66%
- 39
- 1.36 kB
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 27
- 269 B
hast-util-classnames
hast utility to merge class names together- 66%
- 83
- 507 B
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 16
- 356 B
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 2k
- 947 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 17
- 413 B
unist-util-ancestor
Unist utility for finding the closest common ancestor for multiple nodes- 65%
- 159
- 929 B
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 22
- 417 B
esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 151
- 32.4 kB
hast-util-from-html
hast utility to parse from HTML- 65%
- 159k
unist-diff
Diff two unist trees- 65%
- 8
- 1.42 kB
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 43k
- 1.13 kB
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 43k
estree-util-to-js
estree (and esast) utility to serialize to JavaScript- 64%
- 1m
- 4.83 kB
remark-extract-toc
remark plugin to store table of contents- 62%
- 3k
- 7.49 kB
remark-slate-transformer
remark plugin to transform remark syntax tree (mdast) to Slate document tree, and vice versa. Made for WYSIWYG markdown editor.- 62%
- 20k
- 5.59 kB
unified-doc-react
react wrapper for unified-doc- 61%
- 3
- 144 kB
unified-doc-dom
DOM APIs for unified-doc- 61%
- 11
- 18.5 kB
unified-doc
unified document APIs.- 60%
- 21
- 141 kB
unist-util-to-string-with-nodes
functionality that generates string with nodes corresponding to each character provided.- 56%
- 55
- 1.04 kB
unist-util-to-list-of-char
functionality that helps generating list of characters in all visible text inside give node tree- 55%
- 16k
- 986 B
unified-doc-search-micromatch
unified-doc micromatch search algorithm.- 43%
- 5
- 12.6 kB
unified-doc-types
unified-doc typescript typings.- 43%
- 10
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 43%
- 7
- 856 B
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 41%
- 7
- 6.4 kB
remark-pdf
remark plugin to compile markdown to pdf.- 41%
- 24
- 938 kB
unified-doc-parse-csv
unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)- 41%
- 5
- 5.44 kB
remark-docx
remark plugin to compile markdown to docx (Microsoft Word, Office Open XML).- 41%
- 164
- 124 kB
Find other packages matching unist on npm