📦 mathbases
All Your Base Are Belong To Us
Did you like the project? Please, considerate being a supporter and receive exclusive gifts!
Install
npm install mathbases --save
Usage
Decimal to Binary
const { allYour } = require("mathbases");
allYour("decimal").areBelongTo("binary")(50); // '110010'
Binary to Decimal
const { allYour } = require("mathbases");
allYour("binary").areBelongTo("decimal")(110010); // '50'
Decimal to hexadecimal
const { allYour } = require("mathbases");
allYour("decimal").areBelongTo("hexadecimal")(50); // '32'
Hexadecimal to decimal
const { allYour } = require("mathbases");
allYour("hexadecimal").areBelongTo("decimal")(32); // '50'
Run tests
npm run test
Author
- Website: https://hebertbarros.me/
- Twitter: @hebertcisco
- Github: @hebertcisco
- LinkedIn: @hebert-f-barros
Show your support
Give a
📝 License
Copyright © 2021 Hebert Cisco.
This project is MIT licensed.