Render data in text columns. Supports in-column text-wrap.
Get index of character after which variable 'word' must be broken given variable 'length' (accounts for wide characters).
Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.
wrap long lines of text using foreignObject tags or tspans as appropriate, depending on browser support
ES2015 tagged template string for removing indent from strings