2.2.0 • Published 3 years ago

@vijay0405/js-number-converter v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@vijay0405/js-number-converter

npm (scoped)

Convert binary, decimal, big integer numbers, hexadecimal

Install

npm i @vijay0405/js-number-converter

Usage

const convert = require("@vijay0405/js-number-converter");

/*
Available types
Binary - "bin", 
Decimal - "dec", 
Hexadecimal - "hex" 
*/

//convert(inputValue, inputType, outputType)

convert("158742613876433232361948262226774047556604", "dec", "hex");
//=> "1d280ab59fb67182d695118616eb3a383fc"

Demo

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

2.2.0

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago