@prismshadow/penguin-core/kernel · Manifest & Static Verification

parseManifest

function low-level
Source ↗
IMPORT import { parseManifest } from "@prismshadow/penguin-core/kernel";

Strict parse of a manifest document; throws with the arktype summary on failure. An empty requires, provides, contributes or children may be left out of the document — a plugin that only contributes writes its name and its contributions — and reads as empty.

Declaration

export function parseManifest(doc: unknown, where = "manifest"): Manifest

Parameters & Return

doc

unknown

where?

unknown
default"manifest"

@returns

Manifest

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type