Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.29 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.29 KB

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