@demouth/mb_strimwidth (npm): mb_strimwidth ported to JavaScript. Truncates string to specified width, where halfwidth characters count as 1, and fullwidth characters count as 2.
Keywords: string|character|unicode|fullwidth|full-width|full|ansi|cjk|chinese|japanese|korean