UNPKG

html-truncate-ts

Version:

TypeScript library for truncating HTML strings while preserving HTML tags and structure

7 lines 193 B
export interface TruncateOptions { keepImageTag?: boolean; truncateLastWord?: boolean; slop?: number; ellipsis?: boolean | string; } //# sourceMappingURL=truncate.types.d.ts.map