fast-string-truncated-width

A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.

shave

Shave is a javascript plugin that truncates multi-line text within a html element based on set max height