johnforeland/truncate-tool

Truncates text by line count or character count and optionally adds a 'read more' line at the end

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
textText to truncateyes
max_linesMaximum number of lines to keepno
max_charactersMaximum number of characters to keepno
string_to_appendString to append to bottom of the outputno
namedescription
textTruncated text