Optional
opts: WrapperOptions = {}Private
#graphemesChunk by grapheme cluster. This shouldn't change much w/ locale.
Private
#indentIndent expanded to string
Private
#optsNoramlized options
Private
#widthLength of writable area in graphemes
Private
#wordsChunk by word boundary. This is highly locale-dependent.
Private
#graphemeGenerated using TypeDoc
Wrap words, where word boundaries are determined by Intl.Segmenter. Words are wrapped at a given width, where the units of width are grapheme clusters, NOT characters, code points, or UTF-16 code units.