unist-util-visit
unist utility to visit nodes- 83%
- 34m
- 805 B
hastscript
hast utility to create trees- 83%
- 22m
- 6.94 kB
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 19m
- 5.26 kB
mdast-util-to-string
mdast utility to get the plain text content of a node- 82%
- 27m
- 303 B
hast-to-hyperscript
hast utility to transform to something else (react, vue, etc) through a hyperscript DSL- 81%
- 15m
- 7.93 kB
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 81%
- 19m
- 340 B
unist-util-position
unist utility to get the position of a node- 81%
- 18m
- 268 B
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 81%
- 16m
- 7.88 kB
mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 14m
- 27 kB
mdast-util-definitions
mdast utility to find definition nodes in a tree- 80%
- 19m
- 898 B
hast-util-raw
hast utility to reparse a tree- 80%
- 15m
- 58.4 kB
unist-util-is
unist utility to check if a node passes a test- 80%
- 36m
- 558 B
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 15m
- 8.53 kB
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 80%
- 36m
- 763 B
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 80%
- 14m
- 583 B
micromark-util-character
micromark utility to handle character codes- 79%
- 4m
- 986 B
micromark-util-subtokenize
micromark utility to tokenize subtokens- 79%
- 4m
- 977 B
micromark-util-sanitize-uri
micromark utility to sanitize urls- 79%
- 4m
- 1.21 kB
micromark-util-normalize-identifier
micromark utility normalize identifiers (as found in references, definitions)- 79%
- 4m
- 215 B
micromark-util-chunked
micromark utility to splice and push with giant arrays- 79%
- 4m
- 313 B
micromark-util-resolve-all
micromark utility to resolve subtokens- 79%
- 4m
- 220 B
micromark-util-classify-character
micromark utility to classify whether a character is whitespace or punctuation- 79%
- 4m
- 833 B
micromark-util-combine-extensions
micromark utility to combine syntax or html extensions- 79%
- 4m
- 502 B
unist-builder
unist utility to create a new trees with a nice syntax- 79%
- 18m
- 250 B
vfile-message
vfile utility to create a virtual message- 79%
- 32m
- 605 B
mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 11m
- 18 kB
unist-util-stringify-position
unist utility to serialize a node, position, or point as a human readable location- 78%
- 33m
- 278 B
unist-util-remove
unist utility to remove nodes from a tree- 77%
- 15m
- 513 B
unist-util-generated
unist utility to check if a node is generated- 77%
- 18m
- 203 B
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 76%
- 4m
- 234 B
unist-util-find-all-after
unist utility to find nodes after another node- 76%
- 9m
- 552 B
vfile-location
vfile utility to convert between positional (line and column-based) and offset (range-based) locations- 76%
- 23m
- 394 B
unist-util-remove-position
unist utility to remove positions from a tree- 76%
- 22m
- 806 B
mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 76%
- 3m
- 18.6 kB
hast-util-to-html
hast utility to serialize to HTML- 76%
- 2m
mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 76%
- 3m
- 1.25 kB
mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 76%
- 3m
- 2.08 kB
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 75%
- 3m
- 2.75 kB
mdast-util-gfm-strikethrough
mdast extension to parse and serialize GFM strikethrough- 75%
- 3m
- 756 B
mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 75%
- 3m
- 1.44 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 3m
- 550 B
hast-util-sanitize
hast utility to sanitize nodes- 74%
- 1m
- 1.97 kB
estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 1m
- 581 B
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 1m
- 256 B
mdast-util-compact
mdast utility to make a tree compact- 74%
- 6m
- 871 B
mdast-util-mdx-jsx
mdast extension to parse and serialize MDX or MDX.js JSX- 74%
- 1m
- 17.4 kB
mdast-util-mdx-expression
mdast extension to parse and serialize MDX (or MDX.js) expressions- 74%
- 2m
- 419 B
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 1m
- 17.8 kB
mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 73%
- 1m
- 317 B
vfile-reporter
vfile utility to create a report for a file- 73%
- 990k
- 6.13 kB
unist-util-select
unist utility to select nodes with CSS-like selectors- 73%
- 697k
- 5.25 kB
mdast-util-frontmatter
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)- 73%
- 1m
- 1.35 kB
mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 980k
- 13.5 kB
hast-util-has-property
hast utility to check if a node has a property- 73%
- 1m
- 243 B
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 671k
- 1.7 kB
nlcst-to-string
nlcst utility to transform a tree to a string- 72%
- 897k
- 318 B
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 540k
- 258 B
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 422k
- 12.9 kB
mdast-util-footnote
mdast extension to parse and serialize footnotes- 72%
- 593k
- 1.91 kB
mdast-util-toc
mdast utility to generate a table of contents from a tree- 72%
- 1m
- 3.32 kB
unist-util-modify-children
unist utility to modify direct children of a parent- 72%
- 973k
- 404 B
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 414k
- 12.3 kB
vfile-sort
vfile utility to sort messages by line/column- 71%
- 853k
- 299 B
mdast-comment-marker
mdast utility to parse a comment marker- 71%
- 530k
- 587 B
to-vfile
vfile utility to create a vfile from a filepath- 71%
- 765k
- 2.75 kB
unist-util-inspect
unist utility to inspect nodes- 71%
- 483k
- 946 B
mdast-util-heading-style
mdast utility to get the style of a heading- 71%
- 414k
- 301 B
unist-util-find-after
unist utility to find a node after another node- 71%
- 704k
- 545 B
unist-util-visit-children
unist utility to visit direct children of a parent- 71%
- 775k
- 243 B
unist-util-map
unist utility to create a new tree by mapping all nodes- 71%
- 452k
- 232 B
hast-util-from-dom
hast utility to create a tree from the DOM- 71%
- 106k
- 7.29 kB
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc- 71%
- 868k
- 319 B
mdast-util-to-nlcst
mdast utility to transform to nlcst- 70%
- 783k
- 1.21 kB
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 70%
- 195k
- 709 B
hast-util-embedded
hast utility to check if a node is an embedded element- 70%
- 350k
- 442 B
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 70%
- 287k
- 558 B
mdast-util-math
mdast extension to parse and serialize math- 69%
- 130k
- 1.8 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 69%
- 160k
- 1.14 kB
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 69%
- 142k
- 459 B
vfile-find-up
vfile utility to find one or more files by searching the file system upwards- 69%
- 112k
- 2.69 kB
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 44k
- 227 B
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 57k
- 672 B
hast-util-to-nlcst
hast utility to transform to nlcst- 69%
- 80k
- 2.35 kB
nlcst-search
nlcst utility to search for patterns in a tree- 69%
- 99k
- 1.73 kB
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 69%
- 114k
- 763 B
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 68%
- 29k
- 1.3 kB
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 68%
- 99k
- 400 B
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 20k
- 423 B
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 18k
- 1.4 kB
unist-util-parents
unist utility to add references to parents on nodes in a tree- 68%
- 8k
- 348 B
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 6k
- 286 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 6k
- 800 B
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 9k
- 238 B
unist-util-find-all-before
unist utility to find nodes before another node- 68%
- 4k
- 566 B
unist-util-position-from-estree
unist utility to get a position from an estree node- 68%
- 1m
- 325 B
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 8k
- 250 B
vfile-reporter-pretty
vfile utility to create a pretty report for a file- 68%
- 2k
- 36.8 kB
xastscript
xast utility to create trees- 68%
- 2k
- 503 B
xast-util-to-xml
xast utility to serialize to XML- 68%
- 3k
- 2.92 kB
mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 35k
- 16.8 kB
vfile-find-down
vfile utility to find one or more files by searching the file system downwards- 68%
- 9k
- 2.86 kB
unist-util-source
unist utility to get the source of a value- 68%
- 11k
- 526 B
mdast-normalize-headings
mdast utility to make sure there is no more than a single top-level heading in the document- 68%
- 5k
- 841 B
unist-util-find-before
unist utility to find a node before another node- 68%
- 3k
- 555 B
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 25k
- 902 B
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 335
- 37.3 kB
vfile-reporter-json
vfile utility to create a JSON report for a file- 67%
- 3k
- 421 B
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 67%
- 17k
- 2.29 kB
nlcst-affix-emoticon-modifier
nlcst utility to merge affix emoticons into the previous sentence- 67%
- 17k
- 547 B
vfile-to-eslint
vfile utility to convert to ESLint formatter compatible output- 67%
- 2k
- 503 B
unist-util-assert
unist utility to assert nodes- 67%
- 1k
- 892 B
vfile-matter
vfile utility to parse the YAML front matter in a file- 67%
- 61k
- 9.68 kB
remark-code-blocks
Extract code blocks from an MDAST tree- 67%
- 9k
- 336 B
nlcst-emoji-modifier
nlcst utility to support emoji- 67%
- 17k
hast-util-to-dom
hast utility to transform to the DOM- 67%
- 2k
- 6.5 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 2k
- 9.57 kB
mdast-util-assert
mdast utility to assert trees- 67%
- 1k
- 1.91 kB
xast-util-from-xml
xast utility to parse from XML- 67%
- 692
- 8.33 kB
hast-util-to-xast
hast utility to transform to xast- 67%
- 598
- 6.64 kB
unist-util-size
unist utility to calculate the number of nodes in a tree- 66%
- 413
- 463 B
vfile-rename
vfile utility to rename the path parts of a file- 66%
- 730
- 2.78 kB
xast-util-feed
xast utility to build feeds (rss, atom)- 66%
- 734
- 21.5 kB
xast-util-to-string
xast utility to get the text value of a node- 66%
- 66
- 257 B
hast-util-assert
hast utility to assert nodes- 66%
- 65
- 1.31 kB
esast-util-from-estree
esast utility to transform from estree- 66%
- 161
- 996 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 48
- 480 B
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 56
- 417 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 47
- 276 B
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 87
- 1.32 kB
hast-util-classnames
hast utility to merge class names together- 66%
- 82
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 41
- 345 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 64
- 416 B
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 441
- 922 B
hast-util-menu-state
hast utility to get the state of a menu element- 66%
- 54
- 661 B
vfile-mkdirp
vfile utility to make sure the directory of a file exists on the file system- 66%
- 571
- 1.44 kB
xast-util-sitemap
xast utility to build a sitemap- 66%
- 214
- 20.8 kB
vfile-is
vfile utility to check if a vfile passes a test- 66%
- 117
- 4.55 kB
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 55
- 417 B
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 250
- 1.1 kB
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 244
- 1.28 kB
Find other packages matching utility on npm