@scure/base
Secure, audited & 0-dep implementation of base64, bech32, base58, base32 & base16
@thi.ng/hex
Hex string formatters for 4/8/16/24/32/48/64bit words, hexdump formatting of binary data
rfc4648
Encoding and decoding for base64, base32, base16, and friends