Cloud tools API (coming soon)

base-numeral-system - Base numeral system converter. Convert from/to Binary, Octal, Decimal, Hexadecimal.


Installation

# npm ..
$ npm install base-numeral-system 
# yarn ..
$ yarn add base-numeral-system

Usage

This is a practical example of how to use.

import { BaseNumeralSystem } from 'base-numeral-system'

const result = BaseNumeralSystem.from(2).to(10).convert(1001)

console.log(result)
//  9

Online converters