FGRibreau / FGRibreau/node-truncate

Make it work with ANSI and fullwidth characters

Open
#2 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
52
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Does not work (breaks the string) with string that contains ANSI escape codes (e.g. colours in the terminal) or fullwidth characters.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.