Web SDKv1.0.0

Kernstra.assetDigests

The SHA-256 of every file this version downloads: { engine, shaper, subset, fonts }, fonts keyed by font id (BUILTIN_FONTS[i].id), for scripting a self-hosted deployment; the subset digest's folder in the store is subsetter. See Engine, binaries and fonts.
static propertyEvents and assetssince 1.0.0

Signature

static readonly assetDigests: Readonly<{ engine: string; shaper: string; subset: string; fonts: Readonly<Record<string, string>> }>

Returns

{ engine, shaper, subset, fonts }

Example

TypeScript
const { engine, shaper, subset, fonts } = Kernstra.assetDigests;
console.log(engine, Object.keys(fonts).length, 'fonts');

More in Kernstra