property
StringWidthOptions.perCodePoint
perCodePoint?: boolean
If true, measure every Unicode code point individually (East Asian Width plus emoji presentation, the algorithm Node.js uses for console.table and util.inspect alignment), so each member of an emoji ZWJ sequence is counted: "π¨βπ©βπ§βπ¦" measures 8. If false, emoji sequences and other grapheme clusters count once: "π¨βπ©βπ§βπ¦" measures 2.