Textwrap Packages

breakword

Get index of character after which variable 'word' must be broken given variable 'length' (accounts for wide characters).

1.0.6 • Published 2 years ago

text-wrap-util

Flexible and versatile text wrapping JavaScript function that prioritizes existing line breaks within the text, supports custom break points, with the option of removing them or not from the text, and permits adding custom gutters or line prefixes.

1.0.4 • Published 4 months ago