string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
pretty-bytes
Convert bytes to a human readable string: 1337 → 1.34 kB
gzip-size
Get the gzipped size of a string or buffer
minipass-sized
A Minipass stream that raises an error if you get a different number of bytes than expected