unified

Content as structured data

We compile content to syntax trees and syntax trees to content.
We also provide hundreds of packages to work on the trees in between.
You can build on the unified collective to make all kinds of interesting things.

Build

We provide the building blocks: from tiny, focussed, modular utilities to plugins that combine them to perform bigger tasks. And much, much more. You can build on unified, mixing and matching building blocks together, to make all kinds of interesting new things.

  1. Prettier

    Uses unified to format Markdown

  2. Gatsby

    Uses unified to pull content into GraphQL

  3. Write Music

    Uses unified to visualize sentence length

  4. Node.js

    Uses unified to check and build their docs

  5. alex

    Uses unified to catch insensitive, inconsiderate writing

  6. See 23 other cases

Learn

We provide the interface: for parsing, inspecting, transforming, and serializing content. You work on structured data. Learn how to plug building blocks together, write your own, and make things with unified.

  1. Intro to unified

    Guide that summarises the what and why of unified

    1. guide
    2. welcome
    3. introduction
  2. Use unified

    Guide that delves into transforming Markdown to HTML

    1. guide
    2. use
    3. transform
    4. remark
    5. rehype
  3. Tree traversal

    How to do tree traversal (also known as walking or visiting a tree)

    1. recipe
    2. unist
    3. tree
    4. traverse
    5. walk
    6. visit
  4. Find a node

    How to find a node in any unist syntax tree

    1. recipe
    2. node
    3. tree
    4. traverse
    5. walk
    6. find
  5. Support tables in remark

    How to support GitHub-style tables in remark (or react-markdown)

    1. recipe
    2. remark
    3. plugin
    4. gfm
    5. github
    6. table
  6. See 10 other articles

Explore

The ever growing ecosystem that the unified collective provides today consists of 366 open source projects, with a combined 63k stars on GitHub. In comparison, the code that the collective maintains is about 101 Moby Dicks or 40 Linuxes. In the last 30 days, the 543 packages maintained in those projects were downloaded 1.9b times from npm. Much of this is maintained by our teams, yet others are provided by the community.

  1. @mdx-js/vue

    Vue provider for MDX
    1. 77%
    2. 7k
    3. 330 B
  2. remark-gfm

    remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)
    1. 77%
    2. 13m
    3. 11.7 kB
  3. vfile-message

    vfile utility to create a virtual message
    1. 82%
    2. 46m
    3. 718 B
  4. hastscript

    hast utility to create trees
    1. 82%
    2. 22m
    3. 7.04 kB
  5. unist-util-position

    unist utility to get the position of a node
    1. 81%
    2. 26m
    3. 313 B
  6. See 543 packages and 366 projects

Work

Maintaining the collective, developing new projects, keeping everything fast and secure, and helping users, is a lot of work. In total, we’ve closed 5.1k issues/PRs while 158 are currently open (3%). In the last 30 days, we’ve cut 10 new releases.

  1. rhysd/remark-emoji@5.0.1·

    • Fix a missing source map file in the released package (#34)
  2. rehypejs/rehype-meta@4.0.1·

    Types

    • 217a672 Fix type extension now Options from vfile is an interace
    • d5f666a Add declaration maps
    • 0cc26c8 Refactor types

    Full Changelog: https://github.com/rehypejs/rehype-meta/compare/4.0.0...4.0.1

  3. micromark/micromark-extension-directive@3.0.1·

    Fix

    • 521612a Add support for arbitrary indent when w/o codeIntended

    Types

    Full Changelog: https://github.com/micromark/micromark-extension-directive/compare/3.0.0...3.0.1

  4. Explore recent releases

Sponsor

Thankfully, we are backed financially by our sponsors. This allows us to spend more time maintaining our projects and developing new ones. To support our efforts financially, sponsor or back us on OpenCollective.

  1. Vercel

    Develop. Preview. Ship. – Creators of nextjs.org

  2. GatsbyJS

  3. Motif

    When content meets code, magic happens ✨

  4. HashiCorp

  5. GitBook

  6. See 44 other sponsors