Simplified JS/TS implementation of wcswidth() written by Markus Kuhn in C
npm install simple-wcswidth