A Javascript library for encoding numbers to different radixes/bases with many formatting options.
The base-formatter defines the BaseFormatter and BaseConverter classes. The BaseFormatter class is used to base encode a number to a string using specified digits, and the BaseConverter to instead encode to a NumeralOutput object.
base-formatter
BaseFormatter
BaseConverter
NumeralOutput
A Javascript library for encoding numbers to different radixes/bases with many formatting options.
The
base-formatterdefines theBaseFormatterandBaseConverterclasses. TheBaseFormatterclass is used to base encode a number to a string using specified digits, and theBaseConverterto instead encode to aNumeralOutputobject.