Skip to content

@burnmark-io/designer-core


@burnmark-io/designer-core / extractPlaceholders

Function: extractPlaceholders()

extractPlaceholders(doc): string[]

Defined in: packages/core/src/template.ts:28

Walk the document and return every key referenced (across text content and barcode data), deduplicated and lowercased.

Parameters

doc

LabelDocument

Returns

string[]

Not affiliated with Dymo, Brother, Avery, or any hardware vendor.