Gray Matter

screenshot of Gray Matter
gatsby
jekyll
metalsmith

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can als...

Overview:

Gray-matter is a versatile NPM package designed to parse front-matter from a string or file. It offers fast, reliable, and easy-to-use capabilities for extracting metadata in formats such as YAML, JSON, TOML, or Coffee Front-Matter. This package, created by Jon Schlinkert, is widely used in projects like metalsmith, assemble, verb, and many others.

Features:

  • Fast and Reliable: Provides efficient parsing of front-matter from strings or files.
  • Supports Multiple Formats: Capable of parsing YAML, JSON, TOML, or Coffee Front-Matter.
  • Custom Delimiters: Allows setting custom delimiters for more flexibility.
  • Used by Major Projects: Trusted and utilized by popular projects like metalsmith, assemble, and verb.
  • Error-Handling: Better at catching and handling edge cases than regex-based parsers.
  • Flexible and Extensible: Can support additional languages and custom engines for front-matter parsing.

Summary:

Gray-matter is a powerful tool for extracting front-matter from strings or files with support for various formats and custom delimiters. Its speed, reliability, and flexibility make it a preferred choice for parsing metadata in projects requiring accurate and efficient handling of front-matter. With ongoing support and maintenance from the community and the author, Jon Schlinkert, Gray-matter continues to be a valuable asset for developers.

gatsby
Gatsby

GatsbyJS is a free and open-source static site generator based on React. It uses a modern development stack including Webpack, GraphQL, and modern JavaScript and CSS frameworks. It also provides a rich set of plugins, starters, and themes.

jekyll
Jekyll

Jekyll is a static site generator written in Ruby that allows you to create simple, fast, and secure websites without the need for a database.

metalsmith
Metalsmith

Metalsmith is a flexible and modular Static Site Generator (SSG) built on Node.js. It operates on a simple plugin-based architecture, allowing developers to easily customize and transform content to generate static websites with diverse functionalities.

documentation
Documentation

Documentation themes are built specifically for writing technical and product documentation. They are normally written and maintained in Markdown. The often include a navigation menu, search bar, clear headings, semantic document structure and clean typography.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

github-pages
GitHub Pages

Gridsome is a Vue.js-based static site generator that makes it easy to build fast and flexible websites and applications by leveraging modern web technologies like GraphQL, Webpack, and hot reloading

netlify
Netlify

Netlify is a cloud-based web development platform that provides a range of tools and services to help developers build, deploy, and manage modern web applications. It offers features such as continuous deployment, serverless functions, and CDN hosting, making it an ideal platform for building fast, scalable, and secure websites.