# unifiedjs/unified

Parse, inspect, transform, and serialize content with syntax trees

Repository: https://github.com/unifiedjs/unified
Canonical: https://ross.abutalabs.com/products/unified
Homepage: https://unifiedjs.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: syntax-tree, ast, cst, javascript, processor, plugins, vfile, unist
Last push: 2026-04-29T11:25:24+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 79, release rhythm 8, longevity 100
- inputs: {"age_days": 4051, "days_push": 126, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5023, forks 129 (observed 2026-08-28T04:09:04.879570+00:00)

## What it is
unified is a JavaScript library and ecosystem for parsing, inspecting, transforming, and serializing content as syntax trees (ASTs) through a plugin-based processor interface. It underpins ecosystems like remark (markdown), rehype (HTML), and retext (natural language), and is used in tools such as MDX, Gatsby, and Docusaurus.

## Use cases
- convert markdown to html
- transform content with a plugin pipeline
- parse documents into syntax trees
- write custom linting or transformation plugins for markdown or html
- build a static site generator
- inspect and manipulate abstract syntax trees
- process natural language text with retext plugins

## When to choose
- you need to parse, transform, or serialize markdown, HTML, or natural language content in JavaScript
- you want a composable plugin architecture for content processing
- you are building tooling like site generators, formatters, or linters on syntax trees
- you want to interoperate with the large remark/rehype/retext ecosystem

## When to avoid
- you only need simple string manipulation without structured trees
- you work in a language other than JavaScript/TypeScript
- you need a full out-of-the-box application rather than a processing library
- your content format has no existing parser in the unified ecosystem and writing one is too costly

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, plugin-system, developer-tools
- domain: web-development, developer-tools, documentation
- platform: cross-platform
- tags: syntax-tree, ast, unist, remark, rehype, retext, vfile, content-processing, markdown, html, natural-language-processing, nodejs, javascript

## Member repositories
- unifiedjs/unified (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.879570+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:29.032547+00:00, confidence not recorded.
  - readme: https://github.com/unifiedjs/unified (fetched 2026-08-28T04:09:04.879570+00:00, sha a2c08f257922)
  - homepage: https://unifiedjs.com (fetched 2026-08-29T08:58:26.159138+00:00, sha 0359e5fdf9c6)
  - registry_npm: https://registry.npmjs.org/unified (fetched 2026-08-29T08:58:26.164218+00:00, sha 0afefd03ff77)
  - site_page: https://unifiedjs.com/explore/release (fetched 2026-08-29T08:58:26.162298+00:00, sha 34c5baf82537)
- Data as of 2026-08-30T08:39:29.467469+00:00.
