GitHub
unicode-byte-truncate
v1.0.0
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
slice
substring
substr
trunc
truncate
trim
unicode
multibyte
multi-byte
and 9 more...
Readme
Versions
Dependencies
Scripts
Dependencies (2)
is-integer
unicode-substring
Dev dependencies (2)
standard
tape
npm i unicode-byte-truncate
Source Code
github.com/watson/unicod...
Homepage
github.com/watson/unicode-by...
Metadata
MIT
Whatever
Thomas Watson Steen
released 2/8/2016
Downloads
Downloads Tab Here
Maintainers
watson