UNPKG

unicode-byte-truncate

Version:

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

7 lines (6 loc) 57 B
language: node_js node_js: - '5' - '4' - '0.12' - '0.10'