short

tcmts.vscode.extension.short · #va3yds42 · term · runs anywhere

export const short = (s: string, n = 80) => (s.length > n ? s.slice(0, n - 1) + "…" : s)

used by