mathbases

All Your Base Are Belong To Us

Usage no npm install needed!

<script type="module">
  import mathbases from 'https://cdn.skypack.dev/mathbases';
</script>

README

:package: mathbases

:package: mathbases

All Your Base Are Belong To Us

Issues GitHub pull requests GitHub Downloads GitHub Total Downloads

Report Bug Request Feature

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

👤 Hebert Cisco

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Hebert Cisco.

This project is MIT licensed.