blogdownsize (npm): Tag-safe truncation for HTML and XML. Works by word!
Keywords: text|truncate|downsize|word|limit|character|html|xml|tag|safe