topcli

topcli/wcwidth

Port of C's wcwidth() and wcswidth()

JavaScript
4
0
Other

wcwidth is a JavaScript port of the C wcwidth() and wcswidth() functions, which determine the number of columns needed to display a wide-character string. It's useful for developers working with international text in Node.js applications, particularly when handling display or formatting of non-ASCII characters.

Total donated
Undistributed
Share with your subscribers: