{"adoption": {"forks": 168, "observed_at": "2026-08-28T04:08:51.294842+00:00", "stars": 4488}, "canonical_url": "https://ross.abutalabs.com/products/gray-matter", "card": {"archived": false, "artifact_type": "library", "description": "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", "domain": ["web-development", "developer-tools", "documentation", "files"], "enriched": true, "function": ["parser", "serialization", "developer-tools"], "health_score": 36, "homepage": "https://github.com/jonschlinkert", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["jonschlinkert/gray-matter"], "name": "jonschlinkert/gray-matter", "platform": [], "pushed_at": "2025-06-14T20:27:39+00:00", "repo": "jonschlinkert/gray-matter", "stars": 4488, "tags": ["front-matter", "yaml", "markdown", "toml", "static-site-generators", "metadata-extraction", "nodejs", "javascript"], "topics": ["yaml", "front-matter", "matter", "javascript", "parse", "markdown", "data", "gatsby", "assemble", "phenomic", "netlify", "metalsmith", "mapbox", "config", "frontmatter", "front-matter-parsers", "jonschlinkert", "node", "nodejs"], "urls": [], "use_cases": ["parse yaml front matter from markdown files", "extract metadata from blog post markdown", "split front matter and content in nodejs", "parse toml front matter from a string", "build a static site generator that reads front matter", "extract title and slug from markdown documents"], "what_it_is": "gray-matter is a JavaScript library for parsing YAML front matter from strings or files, with support for JSON, TOML, and Coffee front matter and custom delimiters or engines. It is a battle-tested, widely adopted npm package used by tools like Gatsby, Astro, VitePress, and Metalsmith.", "when_to_avoid": ["you are not working in a JavaScript/Node.js environment", "you need to write or stringify front matter rather than parse it", "you need full markdown rendering, not just metadata extraction"], "when_to_choose": ["you need reliable front matter parsing in a Node.js project", "you need support for multiple front matter formats like YAML, JSON, or TOML", "you want a fast, battle-tested parser used by major frameworks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gray-matter", "repo": "jonschlinkert/gray-matter", "role": "main", "score": 44}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.294842+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:29.520231+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0258be64407989e02707508b90c92714a27b50d76c36c1046798d8565be3c69c", "fetched_at": "2026-08-28T04:08:51.294842+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jonschlinkert/gray-matter"}, {"content_hash": "9d92e13033bb1e825fd473b3b96d928d2a11295c84199b3097bae0e41a04bd16", "fetched_at": "2026-08-29T09:06:54.157043+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/jonschlinkert"}, {"content_hash": "d1bd6478cb75d295c03eb85d4ff1afefedc2102e1dfba39e999d9652bea82340", "fetched_at": "2026-08-29T09:06:54.166092+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/gray-matter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 26, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4601, "days_push": 445, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 44, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}