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
Generated using TypeDoc
A Javascript library for encoding numbers to different radixes/bases with many formatting options.
The
base-formatter
defines theBaseFormatter
andBaseConverter
classes. TheBaseFormatter
class is used to base encode a number to a string using specified digits, and theBaseConverter
to instead encode to aNumeralOutput
object.