What is gray-matter?
"Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and "
gray-matter is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 37.7 KB on disk.
Installation Guide
# Install via NPM
npm install gray-matter
# Install via Yarn
yarn add gray-matter