Hexo Front-Matter Parser
JSON →hexo-front-matter is a JavaScript library dedicated to parsing and stringifying front-matter data, supporting both YAML and JSON formats. It is a fundamental component within the Hexo static site generator ecosystem but is designed for standalone use for general front-matter processing needs. The current stable version is 5.0.0, published approximately 5 months ago. The package maintains an active development cycle, with major versions frequently released to align with Node.js LTS updates, or to introduce significant internal refactors and bug fixes, such as the critical change to timezone handling introduced in v5.0.0. Key differentiators include its versatile support for both YAML and JSON front-matter, flexible options for prefixing separators, and a clear API for parsing, stringifying, splitting, and escaping front-matter sections, making it a robust solution for various content management or static site generation workflows.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇸🇬 Singapore