UNPKG

html-truncate-ts

Version:

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

3 lines 195 B
import { TruncateOptions } from './truncate.types'; export declare const truncate: (string: string, maxLength: number, options?: TruncateOptions) => string; //# sourceMappingURL=truncate.d.ts.map