@thi.ng/base-n

Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/83/85, support for bigints and encoding/decoding of byte arrays

universal-encoder

Convert any number or ASCII text to any base, using RFC4648 character set or your own custom character sets.