Function: analyzeModel()
function analyzeModel(templateBuffer): Promise<TemplateModel>;
Defined in: src/index.ts:322
Analyze a template file and return a serializable, workbook-free template model. Suitable for cross-process / cross-language inspection.
Parameters
| Parameter | Type |
|---|---|
templateBuffer | ArrayBuffer |
Returns
Promise<TemplateModel>
Stable
Frozen at 1.0.
Example
const model = await analyzeModel(templateBuffer);
const json = JSON.stringify(model, null, 2);