# crockford-base32-number

> A simple util for encoding and decoding numbers as Crockford Base32 strings

Latest version **1.0.3** (published 2021-10-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install crockford-base32-number
pnpm add crockford-base32-number
yarn add crockford-base32-number
bun add crockford-base32-number
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-10-12 |
| First published | 2021-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 22 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Gunnar Cortes Heimisson |
| Maintainers | gnarr |
| Keywords | crockford, base32 |

## Links

- npm: https://www.npmjs.com/package/crockford-base32-number
- Repository: https://github.com/gnarr/crockford
- Homepage: https://github.com/gnarr/crockford#readme
- Issues: https://github.com/gnarr/crockford/issues
- npm.io page: https://npm.io/package/crockford-base32-number

## Dependencies (22)

- [jest](https://npm.io/package/jest.md) ^27.2.5
- [axios](https://npm.io/package/axios.md) ^0.22.0
- [husky](https://npm.io/package/husky.md) ^7.0.2
- [eslint](https://npm.io/package/eslint.md) ^8.0.0
- [ts-jest](https://npm.io/package/ts-jest.md) ^27.0.5
- [ts-node](https://npm.io/package/ts-node.md) ^10.3.0
- [prettier](https://npm.io/package/prettier.md) ^2.4.1
- [coveralls](https://npm.io/package/coveralls.md) ^3.1.1
- [commitizen](https://npm.io/package/commitizen.md) ^4.2.4
- [typescript](https://npm.io/package/typescript.md) ^4.4.3
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.0.2
- [@types/node](https://npm.io/package/@types/node.md) ^16.10.3
- [lint-staged](https://npm.io/package/lint-staged.md) ^11.2.3
- [@commitlint/cli](https://npm.io/package/@commitlint/cli.md) ^13.2.1
- [standard-version](https://npm.io/package/standard-version.md) ^9.3.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.25.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.0.0
- [cz-conventional-changelog](https://npm.io/package/cz-conventional-changelog.md) ^3.3.0
- [@commitlint/config-conventional](https://npm.io/package/@commitlint/config-conventional.md) ^13.2.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.0.0

## Recent versions

- 1.0.3 (latest) — 2021-10-12
- 1.0.2 — 2021-10-12
- 1.0.1 — 2021-10-12

## README

# Crockford Base32 number
[![Build Status][1]][2]
[![Coverage Status][3]][4]
[![npm][5]][6]
[![Downloads/week][11]][12]
[![Dependabot Status][13]][14]

[1]: https://app.travis-ci.com/gnarr/crockford.svg?branch=main
[2]: https://app.travis-ci.com/gnarr/crockford
[3]: https://coveralls.io/repos/github/gnarr/crockford/badge.svg?branch=main
[4]: https://coveralls.io/github/gnarr/crockford?branch=main
[5]: https://img.shields.io/npm/v/crockford-base32-number.svg?style=flat-square
[6]: https://www.npmjs.com/package/crockford-base32-number
[11]: https://img.shields.io/npm/dw/crockford.svg
[12]: https://www.npmjs.com/package/crockford-base32-number
[13]: https://api.dependabot.com/badges/status?host=github&repo=gnarr/crockford
[14]: https://dependabot.com

A simple util for encoding and decoding numbers as Crockford Base32 strings.

## Installation

### Node.js

    $ npm install crockford-base32-number

## Example usage:

```javascript
const { toBase32, fromBase32 } = require("crockford-base32-number");
const asBase32 = toBase32(1337);
console.log(asBase32);
const asNumber = fromBase32(asBase32);
console.log(asNumber);
```

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