# base45-js

> Encode/decode base45 data - including non-utf8 compliant data

Latest version **1.0.2** (published 2021-06-22) · 0 weekly downloads

## Install

```sh
npm install base45-js
pnpm add base45-js
yarn add base45-js
bun add base45-js
```

## 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.2 |
| Published | 2021-06-22 |
| First published | 2021-03-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.0 |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Dirk-Willem van Gulik |
| Maintainers | dirkx |

## Links

- npm: https://www.npmjs.com/package/base45-js
- Repository: https://github.com/ehn-dcc-development/base45-js
- Issues: https://github.com/ehn-dcc-development/base45-js/issues
- npm.io page: https://npm.io/package/base45-js

## Recent versions

- 1.0.2 (latest) — 2021-06-22
- 1.0.1 — 2021-03-31
- 1.0.0 — 2021-03-31
- 0.2.1 — 2021-03-31

## README

Simple base45 (charset of Qr codes, alphanumeric mode) encoder/decoder.

Run as 'npm test' to get an idea of what it does. Accepts both utf8 and binary data (that is not valid UTF8).

typical use:

```
const b45 = require("base45-js");

const e = b45.encode(Buffer.from('Hello!','utf-8'))
console.log(e); // Will output %69 VD92EX0"

const d = b45.decode('%69 VD92EX0').toString()
console.log(d); // will output 'Hello!'
```

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