clamp-js

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.

clampellipsismultilinebrowser

https://github.com/xavi160/Clamp.js