timoxley

timoxley/wcwidth

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

JavaScript
54
7
Other

This project provides JavaScript functions (`wcwidth` and `wcswidth`) that calculate the number of terminal columns required to display a Unicode string or character, which is often different from its string length. It's a direct port of the standard POSIX C library functions, making it essential for developers building

Total donated
Undistributed
Share with your subscribers: