Metalsmith VS gray-matter

Compare Metalsmith vs gray-matter and see what are their differences.

Metalsmith

An extremely simple, pluggable static site generator. (by metalsmith)

gray-matter

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 also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert (by jonschlinkert)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
Metalsmith gray-matter
2 5
7,709 2,186
0.3% -
6.4 1.1
7 days ago about 1 month ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Metalsmith

Posts with mentions or reviews of Metalsmith. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-14.
  • Why I built my own static site generator
    11 projects | news.ycombinator.com | 14 Oct 2021
    A static site generator I've been enjoying lately (and using for my blog) is Metalsmith: https://metalsmith.io/

    It feel like it's the best of both worlds, because it's simple to learn and customize, but there are plugins for the things you don't want to spend time writing yourself.

    For example, I'm using plugins to: check for broken links, generate an RSS feed, and run a test server with automatic reloading.

    But then I was able to easily add in my own code to handle relative links, generate Graphviz diagrams, and format dates.

    One other recommendation: I hated almost every template language I ran across (Hugo's, Liquid, Nunjucks, EJS), but I'm thrilled with the simplicity of Handlebars (https://handlebarsjs.com/), although it is a bit limiting and the "block helper with parameters" syntax is strange (perhaps an indicator that I'm trying to do too much in the templating language!).

  • Zola, A fast static site generator in a single binary
    11 projects | news.ycombinator.com | 5 Mar 2021
    I believe Metalsmith [1] is trying that approach

    [1] https://metalsmith.io/

gray-matter

Posts with mentions or reviews of gray-matter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-24.

What are some alternatives?

When comparing Metalsmith and gray-matter you can also consider the following projects:

front-matter - Extract YAML front matter from strings

docsify - ๐Ÿƒ A magical documentation site generator.

Hugo - The worldโ€™s fastest framework for building websites.

remark - remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc.

Wintersmith - A flexible static site generator

react-markdown - Markdown component for React

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

Phenomic

next-markdown-blog-starter - A lightly opinionated, full-featured Next.js blog managed through Git Workflows with markdown files.

Hexo - A fast, simple & powerful blog framework, powered by Node.js.

Assemble - Get the rocks out of your socks! Assemble makes you fast at web development! Used by thousands of projects for rapid prototyping, themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websites/static site generator, an alternative to Jekyll for gh-pages and more! Gulp- and grunt-friendly.