UNPKG

@thi.ng/base-n

Version:

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

9 lines (8 loc) 170 B
const B16_UC_CHARS = "0123456789ABCDEF"; const B16_LC_CHARS = "0123456789abcdef"; const B16_CHARS = B16_LC_CHARS; export { B16_CHARS, B16_LC_CHARS, B16_UC_CHARS };