Skip to content

normalize

function normalize(
cimDoc: Readonly<CimpressDocument>,
): Promise<CimpressDocumentV2>;

Defined in: normalize.ts:52

Normalizes a CDIF document.

Parameters

ParameterTypeDescription
cimDocReadonly<CimpressDocument>The CDIF document to normalize to v2

Returns

Promise<CimpressDocumentV2>

The normalized CDIF document.