Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / splitFrontmatter

Function: splitFrontmatter()

ts
function splitFrontmatter(skillMd): SplitFrontmatter;

Defined in: packages/security/src/supply-chain/frontmatter.ts:32

Split skillMd into the YAML frontmatter and the markdown body. Throws SkillManifestParseError when no frontmatter block is present.

Parameters

ParameterType
skillMdstring

Returns

SplitFrontmatter

Stable