chalk/slice-ansi



The issue has been solved
Lose characters when fullwidth characters exist and end is not specified #26
bet4it posted onGitHub
Lose characters when there are fullwidth characters in the string and the third argument end
is not specified:
const str = sliceAnsi("ć€ć€test", 0);
// => 'ć€ć€te'