smart-truncate (npm): A small library that truncates a string. It can insert or append an ellipsis at any desired position of the truncated result.
Keywords: string|truncate|ellipsis|smart