html-ellipsis

truncates a html string without messing up the tags

Browse on unpkg