# @hazae41/base64

> Base64 adapter for JS implementations

Latest version **2.0.2** (published 2025-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hazae41/base64
pnpm add @hazae41/base64
yarn add @hazae41/base64
bun add @hazae41/base64
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

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

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2025-08-13 |
| First published | 2023-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 38 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hazae41 |
| Maintainers | hazae41 |
| Keywords | base64, base-64, encoding, encoder, adapter, typescript, esmodules |

## Links

- npm: https://www.npmjs.com/package/@hazae41/base64
- Repository: https://github.com/hazae41/base64
- Issues: https://github.com/hazae41/base64/issues
- npm.io page: https://npm.io/package/@hazae41/base64

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M 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
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 2.0.2 (latest) — 2025-08-13
- 2.0.1 — 2025-07-15
- 2.0.0 — 2025-07-14
- 1.1.3 — 2025-07-14
- 1.1.2 — 2025-07-14
- 1.1.1 — 2025-07-14
- 1.0.19 — 2025-05-25
- 1.0.18 — 2025-05-25
- 1.0.17 — 2025-05-25
- 1.0.16 — 2025-04-23
- 1.0.15 — 2024-08-31
- 1.0.14 — 2024-08-31
- 1.0.13 — 2024-08-31
- 1.0.12 — 2024-08-31
- 1.0.11 — 2024-08-23
- … 11 more at https://npm.io/package/@hazae41/base64/versions

## README

# Base64

Base64 adapter for JS implementations

```bash
npm i @hazae41/base64
```

[**Node Package 📦**](https://www.npmjs.com/package/@hazae41/base64)

## Features

### Current features
- 100% TypeScript and ESM
- No external dependencies
- Automatic implementation

## Usage

```tsx
const encoded: string = Base64.encodePaddedOrThrow(new Uint8Array([1,2,3,4,5]))
```

```tsx
const decoded: Uint8Array = Base64.decodePaddedOrThrow(encoded)
```

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