unist-util-visit
unist utility to visit nodes- 83%
- 20m
unist-util-visit-parents
unist utility to recursively walk over nodes, with ancestral information- 81%
- 23m
unist-util-is
unist utility to check if a node passes a test- 80%
- 24m
mdast-util-to-string
mdast utility to get the plain text content of a node- 79%
- 11m
- 242 B
hastscript
hast utility to create trees- 79%
- 14m
- 4.22 kB
unist-util-remove-position
unist utility to remove positions from a tree- 78%
- 16m
vfile-location
vfile utility to convert between positional (line and column-based) and offset (range-based) locations- 78%
- 17m
unist-builder
unist utility to create a new trees with a nice syntax- 78%
- 7m
vfile-message
vfile utility to create a virtual message- 78%
- 22m
mdast-util-compact
mdast utility to make a tree compact- 78%
- 9m
- 1.02 kB
mdast-util-to-hast
mdast utility to transform to hast- 77%
- 7m
- 4.2 kB
mdast-util-definitions
mdast utility to find definition nodes in a tree- 77%
- 11m
- 1.05 kB
unist-util-stringify-position
unist utility to serialize a node, position, or point as a human readable location- 77%
- 22m
unist-util-remove
unist utility to remove nodes from a tree- 77%
- 7m
unist-util-position
unist utility to get the position of a node- 77%
- 7m
unist-util-find-all-after
unist utility to find nodes after another node- 77%
- 9m
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 77%
- 11m
- 322 B
hast-to-hyperscript
hast utility to transform to something else (react, vue, etc) through a hyperscript DSL- 77%
- 6m
- 8.38 kB
unist-util-generated
unist utility to check if a node is generated- 77%
- 7m
- 191 B
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 77%
- 8m
- 8.51 kB
hast-util-raw
hast utility to reparse a tree- 76%
- 6m
- 59.5 kB
mdast-squeeze-paragraphs
mdast utility to remove empty paragraphs from a tree- 76%
- 6m
- 625 B
hast-util-to-html
hast utility to serialize to HTML- 75%
- 2m
- 11.9 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 74%
- 2m
- 553 B
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 74%
- 6m
mdast-util-toc
mdast utility to generate a table of contents from a tree- 74%
- 1m
- 3.33 kB
mdast-util-from-markdown
mdast utility to parse markdown- 73%
- 5m
to-vfile
vfile utility to create a vfile from a filepath- 73%
- 903k
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 73%
- 1m
- 240 B
hast-util-sanitize
hast utility to sanitize nodes- 73%
- 653k
- 2.05 kB
unist-util-select
unist utility to select nodes with CSS-like selectors- 73%
- 712k
vfile-sort
vfile utility to sort messages by line/column- 72%
- 789k
vfile-reporter
vfile utility to create a report for a file- 72%
- 960k
mdast-util-to-markdown
mdast utility to serialize markdown- 72%
- 4m
nlcst-to-string
nlcst utility to transform a tree to a string- 72%
- 872k
unist-util-inspect
unist utility to inspect nodes- 72%
- 388k
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc- 72%
- 824k
mdast-util-to-nlcst
mdast utility to transform to nlcst- 72%
- 812k
- 1.38 kB
unist-util-find-after
unist utility to find a node after another node- 71%
- 254k
unist-util-modify-children
unist utility to modify direct children of a parent- 71%
- 1m
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 71%
- 230k
- 1.89 kB
unist-util-filter
unist utility to create a new tree with nodes that pass a filter- 71%
- 124k
hast-util-has-property
hast utility to check if a node has a property- 71%
- 542k
unist-util-visit-children
utility to visit direct children of a parent- 70%
- 859k
unist-util-map
unist utility to create a new tree by mapping all nodes- 70%
- 418k
mdast-util-heading-style
mdast utility to get the style of a heading- 70%
- 279k
- 308 B
mdast-comment-marker
mdast utility to parse a comment marker- 70%
- 342k
- 515 B
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 70%
- 70k
- 13.5 kB
nlcst-search
nlcst utility to search for patterns in a tree- 69%
- 76k
nlcst-is-literal
nlcst utility to check whether a node is meant literally- 69%
- 86k
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 255k
- 452 B
hast-util-from-dom
hast utility to create a tree from the DOM- 69%
- 23k
- 7.83 kB
unist-util-find-all-before
unist utility to find nodes before another node- 69%
- 10k
mdast-util-heading-range
mdast utility to use headings as ranges in mdast- 69%
- 26k
- 647 B
vfile-find-up
vfile utility to find one or more files by searching the file system upwards- 69%
- 62k
nlcst-normalize
nlcst utility to normalize a word for easier comparison- 69%
- 75k
mdast-util-phrasing
mdast utility to check if a node is phrasing content- 68%
- 128k
- 493 B
mdast-zone
mdast utility to treat HTML comments as ranges or markers- 68%
- 15k
- 1.39 kB
mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 68%
- 135k
- 1.37 kB
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 68%
- 26k
- 258 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 50k
- 2.35 kB
unist-util-parents
utility to add references to parents on nodes in a tree- 68%
- 6k
- 5.76 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 68%
- 80k
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 68%
- 421k
- 2.89 kB
vfile-find-down
vfile utility to find one or more files by searching the file system downwards- 68%
- 9k
nlcst-emoji-modifier
nlcst utility to support emoji- 68%
- 10k
vfile-reporter-pretty
vfile utility to create a pretty report for a file- 68%
- 1k
mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 68%
- 416k
unist-util-find-before
unist utility to find a node before another node- 68%
- 9k
unist-util-source
unist utility to get the source of a value- 68%
- 5k
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 2k
- 7.09 kB
xast-util-to-xml
xast utility to serialize to XML- 68%
- 3k
unist-util-index
unist utility to index property values or computed keys to nodes- 68%
- 603
nlcst-emoticon-modifier
nlcst utility to support emoticons in nlcst- 68%
- 10k
mdast-normalize-headings
mdast utility to make sure there is no more than a single top-level heading in the document- 67%
- 1k
- 832 B
mdast-util-gfm-strikethrough
mdast extension to parse and serialize GFM strikethrough- 67%
- 414k
xastscript
xast utility to create trees- 67%
- 3k
unist-util-assert
unist utility to assert nodes- 67%
- 1k
hast-util-heading
hast utility to check if a node is a heading element- 67%
- 2k
- 433 B
mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 67%
- 411k
- 1.4 kB
vfile-reporter-json
vfile utility to create a JSON report for a file- 67%
- 596
mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 67%
- 14k
- 3.02 kB
unist-util-size
unist utility to calculate the number of nodes in a tree- 67%
- 844
- 482 B
vfile-to-eslint
vfile utility to convert to ESLint formatter compatible output- 67%
- 2k
hast-util-find-and-replace
hast utility to find and replace text in a tree- 67%
- 1k
- 1.5 kB
unist-builder-blueprint
unist utility to transform trees to unist-builder notation- 67%
- 20
mdast-util-assert
mdast utility to assert trees- 67%
- 547
- 2.02 kB
vfile-matter
vfile utility to parse the YAML front matter in a file- 67%
- 400
hast-util-classnames
hast utility to merge class names together- 67%
- 7
- 492 B
xast-util-from-xml
xast utility to parse from XML- 66%
- 237
hast-util-to-xast
hast utility to transform to xast- 66%
- 14
- 7.24 kB
mdast-util-frontmatter
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)- 66%
- 95k
- 1.38 kB
hast-util-to-snabbdom
hast utility to transform to a Snabbdom tree- 66%
- 3
- 6.92 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 66%
- 51
- 10.2 kB
mdast-util-footnote
mdast extension to parse and serialize footnotes- 66%
- 100k
estree-util-visit
esast (and estree) utility to visit nodes- 66%
- 64
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 66%
- 906
- 9.51 kB
vfile-reporter-folder-json
vfile utility to create a JSON representation of files- 66%
- 10
nlcst-test
nlcst utility to check assert an nlcst node- 66%
- 47
unist-builder-blueprint-cli
CLI to convert unist trees to unist-builder notation- 66%
- 16
vfile-rename
vfile utility to rename the path parts of a file- 66%
- 115
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 40
- 1.05 kB
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 12
- 428 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 14
- 488 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 3
- 260 B
hast-util-assert
hast utility to assert nodes- 66%
- 8
- 1.45 kB
xast-util-sitemap
xast utility to build a sitemap- 66%
- 115
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 7
- 341 B
hast-util-interactive
hast utility to check if a node is interactive- 66%
- 4
- 412 B
vfile-mkdirp
vfile utility to make sure the directory of a file exists on the file system- 66%
- 44
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 8
vfile-is
vfile utility to check if a vfile passes a test- 66%
- 3
mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 66%
- 416k
- 1.92 kB
remark-code-blocks
Extract code blocks from an MDAST tree- 65%
- 1k
esast-util-from-estree
esast utility to transform from estree- 65%
- 58
mdast-util-math
mdast extension to parse and serialize math- 65%
- 52k
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 65%
- 1k
hast-util-is-css-style
hast utility to check if an element is a css style- 65%
- 4k
hast-util-menu-state
hast utility to get the state of a menu element- 65%
- 5
- 442 B
xast-util-feed
xast utility to build feeds (rss, atom)- 65%
- 9
unist-util-position-from-estree
unist utility to get a position from an estree node- 64%
- 59
- 302 B
mdast-util-mdx-jsx
mdast extension to parse and serialize MDX or MDX.js JSX- 64%
- 808
- 5.22 kB
mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 64%
- 792
- 306 B
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 62%
- 789
- 5.88 kB
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 57%
- 119k
hast-util-is-css-link
hast utility to check if an element is a css link- 55%
- 1k
Find other packages matching utility on npm