Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hexadecimal-to-decimal

aashay4131ISC1.0.2

A node.js package to convert hexadecimal to decimal numbers.

npm, hexadecimal to decimal, convert hexadecimal to decimal, hexadecimal, decimal, hexadecimal converter, hexadecimal to decimal converter

readme

hexadecimal-to-decimal

hexadecimal-to-decimal is a simple nodejs package to convert hexadecimal to decimal easily with just one line of code.

Installation

npm i hexadecimal-to-decimal --save

Usage

Convert with just one line of code

  • Convert hexadecimal to decimal with just one line of code. For one of my projects, I had to create a tool to convert hexadecimal to decimal so I have created this one. To get the perfect conversion of hexadecimal numbers, I have used Bignumber.js library.

Hexadecimal to decimal conversion:

var decimal = require('hexadecimal-to-decimal')

console.log(decimal.decimal("10"));