# hex-to-32

> Convert a hex string to base32 and back

Latest version **2.0.0** (published 2018-06-22) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.0 |
| Published | 2018-06-22 |
| First published | 2018-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | rangermauve |
| Maintainers | rangermauve |
| Keywords | hex, base32 |

## Links

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

## Dependencies (1)

- [rfc4648](https://npm.io/package/rfc4648.md) ^1.1.0

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-06-22
- 1.0.0 — 2018-04-12

## README

# hex-to-32

Convert a hex string to base32 and back using [`rfc4648`](https://www.npmjs.com/package/rfc4648).

```
npm install --save hex-to-32
```

```javascript
var value = 0xDEADA5;

var hex = value.toString(16);

var encoded = hexTo32.encode(hex);

assert.equal(encoded, "32w2k");

var decoded = hexTo32.decode(encoded);

assert.equal(decoded, hex);
```

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