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...

npm i unicode-byte-truncate

Metadata

  • MIT
  • Whatever
  • Thomas Watson Steen
  • released 2/8/2016

Downloads

Maintainers