wordwrap
wordwrap
Installation
$ component install yields/wordwrap
API
wordwrap(str, max, eol)
;// > 'Hello\n, Wor\nld!'
wordwrap(str, max)
;// > 'Hello\n, Wor\nld!'
Tests
# make test
License
MIT
wordwrap
$ component install yields/wordwrap
;// > 'Hello\n, Wor\nld!'
;// > 'Hello\n, Wor\nld!'
# make test
MIT
npm i wordwrap-component
0
0.0.1
none