Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/skills / frontmatter / validateFrontmatter
Function: validateFrontmatter()
ts
function validateFrontmatter(frontmatter, options?): ValidatedFrontmatter;Defined in: packages/skills/src/frontmatter/index.ts:193
Validate a parsed frontmatter against the bundled spec snapshot and the graphorin-* extension catalogue.
Parameters
| Parameter | Type |
|---|---|
frontmatter | Record<string, unknown> |
options | ValidateFrontmatterOptions |