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 334 open source projects, with a combined 25k stars on GitHub. In comparison, the code that the collective maintains is about 178 Moby Dicks or 70 Linuxes. In the last 30 days, the 477 packages maintained in those projects were downloaded 881m times from npm. Much of this is maintained by our teams, yet others are provided by the community.

  1. mdast-util-definitions

    mdast utility to find definition nodes in a tree
    1. 80%
    2. 23m
    3. 903 B
  2. vfile-message

    vfile utility to create a virtual message
    1. 82%
    2. 37m
    3. 605 B
  3. remark-lint-no-literal-urls

    remark-lint rule to warn when URLs without angle brackets are used
    1. 73%
    2. 340k
    3. 1.65 kB
  4. mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 75%
    2. 4m
    3. 756 B
  5. unist-util-stringify-position

    unist utility to serialize a node, position, or point as a human readable location
    1. 82%
    2. 38m
    3. 278 B
  6. See 477 packages and 334 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 5k issues/PRs while 185 are currently open (4%). In the last 30 days, we’ve cut 11 new releases.

  1. syntax-tree/mdast-util-mdx-expression@1.3.1·

    Full Changelog: https://github.com/syntax-tree/mdast-util-mdx-expression/compare/1.3.0...1.3.1

  2. IGassmann/remark-directive-rehype@0.4.2·

    What's Changed

    • refactor: import MapFunction type from root of package
    • build(deps): bump unist-util-map from 3.1.1 to 3.1.2
    • build(deps-dev): bump typescript from 4.4.4 to 4.8.3 by @dependabot in #6
    • build(deps-dev): bump unified from 10.1.0 to 10.1.2 by @dependabot in #5
    • build(deps-dev): bump mdast-util-from-markdown from 1.0.4 to 1.2.0 by @dependabot in #4
    • build(deps-dev): bump mdast-util-directive from 2.1.1 to 2.2.1 by @dependabot in #3

    Full Changelog: https://github.com/IGassmann/remark-directive-rehype/compare/v0.4.1...v0.4.2

  3. syntax-tree/unist-util-map@3.1.2·

    Full Changelog: https://github.com/syntax-tree/unist-util-map/compare/3.1.1...3.1.2

  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. Netlify

    Netlify is everything you need to build fast, modern websites: continuous deployment, serverless functions, and so much more.

  6. See 38 other sponsors