JSPM

Found 289 results for unist

hast-util-to-jsx-runtime

hast utility to transform to preact, react, solid, svelte, vue, etc

  • v2.3.6
  • 88.77
  • Published

mdast-util-mdx-jsx

mdast extension to parse and serialize MDX or MDX.js JSX

  • v3.2.0
  • 88.40
  • Published

unist-util-visit-parents

unist utility to recursively walk over nodes, with ancestral information

  • v6.0.1
  • 87.94
  • Published

mdast-util-frontmatter

mdast extension to parse and serialize frontmatter (YAML, TOML, etc)

  • v2.0.1
  • 87.80
  • Published

mdast-util-to-string

mdast utility to get the plain text content of a node

  • v4.0.0
  • 87.17
  • Published

mdast-util-mdx

mdast extension to parse and serialize MDX (or MDX.js)

  • v3.0.0
  • 86.85
  • Published

estree-util-to-js

estree (and esast) utility to serialize to JavaScript

  • v2.0.0
  • 86.83
  • Published

mdast-util-gfm

mdast extension to parse and serialize GFM (GitHub Flavored Markdown)

  • v3.1.0
  • 85.09
  • Published

mdast-util-phrasing

mdast utility to check if a node is phrasing content

  • v4.1.0
  • 84.47
  • Published

nlcst-to-string

nlcst utility to transform a tree to a string

  • v4.0.0
  • 84.04
  • Published

esast-util-from-js

estree (and esast) utility to parse from JavaScript

  • v2.0.1
  • 83.45
  • Published

mdast-util-math

mdast extension to parse and serialize math

  • v3.0.0
  • 83.08
  • Published

mdast-util-directive

mdast extension to parse and serialize generic directives (`:cite[smith04]`)

  • v3.1.0
  • 82.71
  • Published

unist-util-filter

unist utility to create a new tree with nodes that pass a filter

  • v5.0.1
  • 80.42
  • Published

hast-util-is-element

hast utility to check if a node is a (certain) element

  • v3.0.0
  • 79.53
  • Published

hast-util-to-text

hast utility to get the plain-text value of a node according to the `innerText` algorithm

  • v4.0.2
  • 78.33
  • Published

unist-util-remove

unist utility to remove nodes from a tree

  • v4.0.0
  • 77.71
  • Published

hast-util-select

hast utility for `querySelector`, `querySelectorAll`, and `matches`

  • v6.0.4
  • 77.35
  • Published

hast-util-to-estree

hast utility to transform to estree (JavaScript AST) JSX

  • v3.1.3
  • 76.95
  • Published

mdast-util-toc

mdast utility to generate a table of contents from a tree

  • v7.1.0
  • 76.60
  • Published

hast-util-phrasing

hast utility to check if a node is phrasing content

  • v3.0.1
  • 76.16
  • Published

data-with-position

Pseudo AST that contains data with its positions attached.

  • v0.5.0
  • 72.80
  • Published

hast-util-embedded

hast utility to check if a node is an embedded element

  • v3.0.0
  • 72.30
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 72.27
  • Published

unist-util-map

unist utility to create a new tree by mapping all nodes

  • v4.0.0
  • 67.51
  • Published

hast-util-to-dom

hast utility to transform to the DOM

  • v4.0.1
  • 62.51
  • Published

yaml-unist-parser

A YAML parser that produces output compatible with unist

  • v2.0.5
  • 61.62
  • Published

unist-util-flatmap

Create a new Unist tree by mapping (to an array) and flattening

  • v1.0.0
  • 60.63
  • Published

unist-util-source

unist utility to get the source of a value

  • v5.0.0
  • 59.40
  • Published

xastscript

xast utility to create trees

  • v4.0.0
  • 59.24
  • Published

nlcst-is-literal

nlcst utility to check whether a node is meant literally

  • v3.0.0
  • 58.28
  • Published

nlcst-normalize

nlcst utility to normalize a word for easier comparison

  • v4.0.0
  • 56.98
  • Published

remark-slate-transformer

remark plugin to transform remark syntax tree (mdast) to Slate document tree, and vice versa. Made for WYSIWYG markdown editor.

  • v0.9.0
  • 56.56
  • Published

nlcst-search

nlcst utility to search for patterns in a tree

  • v4.0.0
  • 55.29
  • Published

@m2d/mdast

Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.

  • v0.2.4
  • 53.68
  • Published

hast-util-heading

hast utility to check if a node is a heading element

  • v3.0.0
  • 53.58
  • Published

@suitest/smst

UNIST definition and JSX factory for Suitest test lines rendering

  • v4.13.0
  • 53.14
  • Published

mdast-normalize-headings

mdast utility to make sure there is no more than a single top-level heading in the document

  • v4.0.0
  • 52.78
  • Published

hast-util-truncate

hast utility to truncate the tree to a certain number of characters

  • v2.0.0
  • 52.51
  • Published

unist-util-to-list-of-char

functionality that helps generating list of characters in all visible text inside give node tree

  • v0.1.3
  • 51.89
  • Published

unist-types

Unist for TypeScript.

  • v1.4.0
  • 51.71
  • Published

hast-util-excerpt

hast utility to excerpt the tree to a comment

  • v2.0.0
  • 51.30
  • Published

ast-to-markdown

Transforms an Unist AST to a Markdown text

  • v1.0.0
  • 49.60
  • Published

remark-linkify-regex

Converts regex matches insides text nodes to link nodes

  • v1.2.1
  • 49.23
  • Published

unist-utils-core

A collection of commonly used (albeit enhanced) algorithms based on unist and unist-util-xxx

  • v1.1.0
  • 49.14
  • Published

unist-util-lsp

Utility to convert between unist and language server protocol

  • v2.1.0
  • 48.27
  • Published

mdast-zone

mdast utility to treat HTML comments as ranges or markers

  • v6.1.0
  • 48.10
  • Published

unified-consistency

Report inconsistencies between the input and output of a unified pipeline

  • v2.0.0
  • 47.86
  • Published

unist-util-parents

unist utility to add references to parents on nodes in a tree

  • v3.0.0
  • 47.02
  • Published

remark-docx

remark plugin to compile markdown to docx (Microsoft Word, Office Open XML).

  • v0.1.8
  • 46.83
  • Published

xast-util-feed

xast utility to build feeds (rss, atom)

  • v2.0.0
  • 45.97
  • Published

unist-util-flat-filter

Create a new Unist tree by filtering with the provided function and getting all of the returned results in a flat list, not including parent nodes

  • v2.0.0
  • 45.74
  • Published

@vcarl/remark-headings

Remark plugin to extract heading metadata while processing markdown files

  • v0.1.0
  • 45.68
  • Published

@m2d/remark-docx

A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.

  • v0.1.0
  • 44.43
  • Published

@lottiefiles/relottie

unified processor with support for parsing Lottie input and serializing Lottie as output

  • v1.13.0
  • 43.05
  • Published

sast

Parse CSS, Sass, and SCSS into Unist syntax trees

  • v0.8.1
  • 41.32
  • Published

rehype-math

rehype-math is to rehype as remark-math is to remark.

  • v0.2.0
  • 41.24
  • Published

rehype-accessible-emojis

Rehype plugin to make emojis accessible, wrapping emojis in <span> with image role and the emojis name in aria-label>

  • v0.3.2
  • 41.21
  • Published

unist-util-index

unist utility to index property values or computed keys to nodes

  • v4.0.0
  • 39.53
  • Published

unist-util-walker

Walk unist trees with enter and leave functions

  • v1.0.0
  • 39.00
  • Published

mdast-util-slice-markdown

Highly optimized MDAST tree slicing with configurable node behaviors

    • v2.0.1
    • 31.92
    • Published

    mdast-move-images-to-root

    Transforms a markdown AST so that image nodes are strict children of the root

    • v1.0.0
    • 31.87
    • Published

    remark-pdf

    remark plugin to compile markdown to pdf.

    • v0.0.14
    • 31.81
    • Published

    nlcst-test

    nlcst utility to check assert an nlcst node

    • v4.0.0
    • 31.31
    • Published

    vfile-reporter-position

    Format [**vfile**](https://github.com/vfile/vfile)s using a stylish reporter with position output and a summary line.

    • v0.1.7
    • 31.23
    • Published

    unist-util-size

    unist utility to calculate the number of nodes in a tree

    • v4.0.0
    • 31.15
    • Published

    tgast

    Telegram Abstract Syntax Tree format.

    • v2.0.0
    • 29.83
    • Published

    unist-util-visit-siblings-first

    Breadth-first traversal for unist ASTs — visits siblings before descending into children

    • v1.0.0-alpha.5
    • 29.34
    • Published

    tree-sitter-hast

    Convert tree-sitter parsed trees to syntax-highlighted HAST

    • v1.1.1
    • 29.32
    • Published

    rehype-attributes

    rehype plugin to modify element attributes.

    • v0.0.2
    • 26.35
    • Published

    rehype-extract-meta

    Rehype plugin to extract meta data from an HTML document

    • v4.0.1
    • 25.09
    • Published

    hast-util-from-text

    hast utility to set the plain-text value of a node according to the `innerText` algorithm

    • v3.0.0
    • 24.94
    • Published

    regram-parse

    regram plugin to add support for parsing Telegram message entity

    • v0.0.3
    • 24.55
    • Published

    tgast-util-to-mdast

    A utility that turns a tgast syntax tree into a mdast syntax tree.

    • v0.0.2
    • 23.86
    • Published

    tgast-util-to-hast

    A utility to convert tgast syntax tree to hast syntax tree.

    • v0.0.2
    • 23.78
    • Published

    hast-util-to-tiptap

    hast utility to transform to be used by TipTap renderHTML

    • v0.0.1
    • 23.26
    • Published

    remark-mdat

    A remark plugin implementing the Markdown Autophagic Template (MDAT) system.

    • v1.0.5
    • 22.99
    • Published

    tdast-types

    tdast typescript typings.

    • v0.1.2
    • 21.86
    • Published

    unist-util-add

    unist utility to add extension

    • v1.2.0
    • 21.25
    • Published

    tdast-util-from-csv

    tdast utility to parse csv into tdast (RFC-4180 compliant)

    • v0.1.4
    • 20.91
    • Published

    regram-stringify

    regram plugin to add support for serializing tgast syntax tree to plain text

    • v0.0.1
    • 20.82
    • Published

    unified-doc-parse-csv

    unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)

    • v0.2.1
    • 20.60
    • Published

    hastscript-ns

    hast utility to create trees

    • v7.0.3
    • 20.22
    • Published

    tdastscript

    utility to create tdast trees

    • v0.1.2
    • 19.96
    • Published

    mdtoken-to-mdast

    mdast utility to compile micromark tokens

    • v1.2.0
    • 19.32
    • Published

    unified-doc

    unified document APIs.

    • v3.3.2
    • 19.08
    • Published

    mdast-util-hidden

    mdast utility to selectively hide and reveal mdast nodes

    • v3.0.0
    • 17.08
    • Published

    @noomorph/vfile-reporter-position

    Format [**vfile**](https://github.com/vfile/vfile)s using a stylish reporter with position output and a summary line.

    • v0.2.3
    • 16.22
    • Published

    hast-util-from-parse5-ns

    A fork of the original hast utility to transform from Parse5’s AST

    • v7.1.1
    • 16.00
    • Published

    retext-lexrank

    Lexrank algorithm for retextjs

    • v1.3.1
    • 15.59
    • Published

    @md2docx/remark-docx

    A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.

    • v0.1.0
    • 15.00
    • Published

    hast-util-transparent

    hast utility to check if a node is a transparent element

    • v3.0.0
    • 14.14
    • Published

    @mdast2docx/mdast

    Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.

    • v0.2.4
    • 13.66
    • Published

    @md2docx/mdast

    Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.

    • v0.2.4
    • 13.31
    • Published

    unist-util-ancestor

    Unist utility for finding the closest common ancestor for multiple nodes

    • v1.4.3
    • 12.97
    • Published

    unist-formula-ast

    Excel formula ast to implement unist specification

      • v1.4.1
      • 12.95
      • Published

      remark-docx-climsi

      remark plugin to compile markdown to docx (Microsoft Word, Office Open XML).

      • v0.3.2
      • 12.46
      • Published

      @mdast2docx/remark-docx

      A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.

      • v0.1.0
      • 12.36
      • Published

      hast-util-noddity

      Hast extension to parse noddity flavored text within HTML.

      • v1.0.1
      • 10.81
      • Published

      @accuser/svelte-unist

      Transform [Unist](https://github.com/syntax-tree/unist) into Svelte components.

      • v0.5.0
      • 10.72
      • Published

      @onachi/bbast

      BBCode abstract syntax tree types and utilities based on unist

        • v0.1.6
        • 10.49
        • Published

        @onachi/bbcode-parser

        Unified plugin to parse BBCode text into bbast syntax tree

          • v0.1.6
          • 10.49
          • Published

          unist-diff

          Diff two unist trees

          • v2.0.0
          • 10.41
          • Published

          myna-parser-mnast

          Myna parser with Unist compatibility

            • v0.1.0
            • 10.22
            • Published

            @onachi/bbcode-rehype

            Unified plugin to convert BBCode AST to HAST (HTML Abstract Syntax Tree)

              • v0.1.6
              • 10.05
              • Published

              mdast-util-tight-comments

              mdast-util-to-markdown extension to selectively remove newlines around mdast comment nodes

              • v3.0.0
              • 9.67
              • Published

              mdast-util-noddity

              Micromark and mdast extension to parse noddity flavored markdown.

              • v1.0.2
              • 9.44
              • Published

              @jzetlen/remark-docx

              remark plugin to compile markdown to docx (Microsoft Word, Office Open XML).

              • v0.2.1
              • 8.12
              • Published

              mdast-util-gfm-bn

              mdast extension to parse and serialize GFM (GitHub Flavored Markdown)

              • v2.0.0
              • 7.59
              • Published

              zhf.mdast-util-gfm

              mdast extension to parse and serialize GFM (GitHub Flavored Markdown)

              • v3.1.2
              • 7.16
              • Published

              hast-util-labelable

              hast utility to check whether a node is labelable

              • v3.0.0
              • 6.32
              • Published

              mdast-sort-lists

              Transforms a Markdown Abstract Syntax Tree (mdast) so that list items are naturally sorted.

              • v1.0.4
              • 6.18
              • Published

              @geut/jsdast

              Syntax tree JSDoc based on Unist spec

              • v0.0.10
              • 6.18
              • Published

              rehype-slugs

              rehype plugin to add ids to headings and output.

              • v0.0.5
              • 6.18
              • Published

              mdast-util-mx

              mdast extension to parse and serialize GFM (GitHub Flavored Markdown)

              • v1.0.0
              • 5.23
              • Published

              hast-util-sectioning

              hast utility to check if a node is a sectioning element

              • v3.0.0
              • 3.90
              • Published

              strip-markdown-oneline

              Converts markdown text to a single line without markdown syntax

              • v1.1.0
              • 3.90
              • Published

              hast-util-to-html-ns

              A fork of the original hast utility that serializes an AST to HTML

              • v8.0.4
              • 3.50
              • Published

              tdast-util-to-json

              tdast utility to serialize tdast to a JSON array string

              • v0.1.1
              • 2.39
              • Published

              bn-mutm

              mdast utility to serialize markdown

              • v2.1.2
              • 2.34
              • Published

              remark-plate-transformer

              remark plugin to transform remark syntax tree (mdast) to Slate document tree, and vice versa. Made for WYSIWYG markdown editor.

              • v0.6.7
              • 2.23
              • Published

              tdast-util-to-csv

              tdast utility to serialize tdast into CSV (RFC-4810 compliant)

              • v0.1.1
              • 2.19
              • Published