Module

truncate

Truncate string with handling of full width characters (e.g. Chinese/Japanese)
Parameters:
Name Type Description
str string
options Object

View Source string/truncate.js, line 7

string