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

8 lines (7 loc) 162 B
import { defBase } from "./base.js"; import * as c from "./chars/10.js"; export * from "./chars/10.js"; const BASE10 = defBase(c.B10_CHARS); export { BASE10 };