# fast-base64-decode

> A fast Base64 decoder with a low level API. If you want a high level API, look at [base64-js](https://github.com/beatgammit/base64-js).

Latest version **2.0.0** (published 2022-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install fast-base64-decode
pnpm add fast-base64-decode
yarn add fast-base64-decode
bun add fast-base64-decode
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-10-30 |
| First published | 2018-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | linusu |
| Keywords | base64-decode, base64, decode |

## Links

- npm: https://www.npmjs.com/package/fast-base64-decode
- Repository: https://github.com/LinusU/fast-base64-decode
- Homepage: https://github.com/LinusU/fast-base64-decode#readme
- Issues: https://github.com/LinusU/fast-base64-decode/issues
- npm.io page: https://npm.io/package/fast-base64-decode

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2022-10-30
- 1.0.0 — 2018-08-27
- 0.0.1-security — 2018-08-20

## README

# Fast Base64 Decoding

A fast Base64 decoder with a low level API. If you want a high level API, look at [base64-js](https://github.com/beatgammit/base64-js).

## Installation

```sh
npm install --save fast-base64-decode
```

## Usage

```js
import base64Decode from 'fast-base64-decode'

// You need to know the length of the decoded data
const result = new Uint8Array(13)

// Pass the string to decode, and a `UInt8Array` where the bytes will be written
base64Decode('SGVsbG8sIFdvcmxkIQ==', result)
```

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