Shave is a zero dependency javascript plugin that truncates text to fit within a html element based on a set max-height.
Truncated Text is a javascript function that you can truncate string with character limit. There is no broken words when truncating text