@oceanbit/decimaltohex

Convert a decimal number to HEX easily

Usage no npm install needed!

<script type="module">
  import oceanbitDecimaltohex from 'https://cdn.skypack.dev/@oceanbit/decimaltohex';
</script>

README

Decimal to Hex

A CLI utility for converting decimal numbers to hex

Install

npm i -g @oceanbit/decimaltohex

Use

You can either specify the numerical input as a command line argument or pipe the number (preferred).

decimaltohex 12

or

echo "12" | decimaltohex