1.0.3 • Published 3 years ago
number_to_hex v1.0.3
number_to_hex
A package that takes in a single parameter num and converts it to a hexadecimal string
Installation
npm
npm install number_to_hexyarn
yarn add number_to_hexUsage
const NumberToHex = require("number_to_hex");
console.log(NumberToHex(5)); //This will output: "0x5"Contributing
Feel free to make a pull request.
License
ISC
authored by:
Samuel Nzomo