Search results
15 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
- string width
- string length
- real string width
- real string length
- optical string width
- printed width
- unicode
- codepoints
- code points
- strlen
- zero width
- zero width symbols
- zero width characters
- visible characters
- View more
Unicode String object
All the characters that work on most terminals
Encode and decode text files in a reliable way
- text-file
- encoding
- utf-8
- utf8
- utf-16
- utf16
- utf16be
- utf16le
- utf-32
- utf32
- endianess
- big-endian
- little-endian
- codepoint
- View more
Fast uint8array to utf-8 codepoint iterator for streams and array buffers by @okikio & @jonathantneal
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, etc.
- string width
- string length
- real string width
- real string length
- optical string width
- printed width
- unicode
- codepoints
- code points
- strlen
- zero width
- zero width symbols
- zero width characters
- visible characters
- View more
utf8, utf16, wtf8, and wtf16 decoding without strings
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
material design icons codepoints as a JSON object
Fastest implementation of counting UTF-8 byte sequences in a Buffer.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Unicode-friendly version of String.prototype.slice.
Fix UTF-8 encodings which have been broken into single byte sequences