Files
t5de-hub/apps/web/lib/importer.ts
T
dhkatz e6a97be894
Release / release (push) Successful in 4s
CI / test (push) Successful in 1m25s
CI / image (apps/api/Dockerfile, t5de-hub-api) (push) Successful in 6s
CI / image (apps/web/Dockerfile, t5de-hub-web) (push) Successful in 14s
feat: importer IMVU accounts and settings from the console (#14)
Co-authored-by: dhkatz <[email protected]>
2026-11-07 19:00:01 +00:00

7 lines
269 B
TypeScript

// Shared by the console's importer page and its client parts.
/** The start of a key's fingerprint, for people to compare: "1a2b 3c4d 5e6f 7a8b". */
export function shortFingerprint(hex: string): string {
return (hex.slice(0, 16).match(/.{4}/g) ?? []).join(" ");
}