found 16 packages in 23ms
string-length134.5mMIT6.0.0
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
sindresorhusalmost 2 years agounicode, string, length, size printable-characters6.6mUnlicense1.0.42A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
xplalmost 3 years agostring width, string length, real string width, real string length utf16-char-codes3.2kMIT2.1.0
Get location of code point in a string or get code points from string
Amourspiritabout 3 years agocode, codePoint, string, char codepoint-iterator76MIT1.1.1
Fast uint8array to utf-8 codepoint iterator for streams and array buffers by @okikio & @jonathantneal
okikioabout 1 year agoutf8, uint8array, streams, iterable-streams