truncatestring (npm): A function to shorten strings with options.
Keywords: truncate|shorten|cutting|string|options|ellipsis|helper|function|method|vanilla js|no dependencies|independent|es6|es2015