computeOgHash
Hashes a card’s content, so an unchanged card is not rendered again.
Import:
import { computeOgHash } from '@mnaoumov/typescript-dev-toolkit/docs-site/og-image';Signature:
function computeOgHash(params: OgCardContent): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params |
OgCardContent | The card’s content. |
Returns: string — A 16-character hex digest.