# hex-to-dec

> Convert a hexadecimal string to a decimal number.

Latest version **1.0.1** (published 2016-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install hex-to-dec
pnpm add hex-to-dec
yarn add hex-to-dec
bun add hex-to-dec
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-03-23 |
| First published | 2016-03-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dusan vesic |
| Maintainers | dusan.vesic |

## Links

- npm: https://www.npmjs.com/package/hex-to-dec
- Repository: https://github.com/vesic/dec-to-hex
- Homepage: https://github.com/vesic/dec-to-hex#readme
- Issues: https://github.com/vesic/dec-to-hex/issues
- npm.io page: https://npm.io/package/hex-to-dec

## Recent versions

- 1.0.1 (latest) — 2016-03-23
- 1.0.0 — 2016-03-23

## README

# hex-to-dec

## Usage
Convert a hexadecimal string to a decimal number.

```js
var hexToDec = require('hex-to-dec');

hexToDec("FFFF");
//=> 65535
```

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Author

**Dusan Vesic**

* [github/vesic](https://github.com/vesic)

---
_Source: https://npm.io/package/hex-to-dec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
