TAG:trim

库名最新版本描述
shave2.5.10Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
string.js3.3.3string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
voca1.4.0The ultimate JavaScript string library
cuttr1.3.1Cuttr is a javascript / jQuery plugin that truncates multi-line text content with multiple truncation methods and custom ellipsis.