# @endo/base64

> Transcodes base64

Latest version **1.1.1** (published 2026-06-12) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2026-06-12 |
| First published | 2021-01-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1054 |
| Author | Endo contributors |
| Maintainers | kriskowal, michaelfig, erights, warner, mhofman, boneskull, naugtur, turadga, kriscendobot |
| Keywords | base64, endo, ses |

## Links

- npm: https://www.npmjs.com/package/@endo/base64
- Repository: https://github.com/endojs/endo
- Homepage: https://github.com/endojs/endo/blob/master/packages/base64/README.md
- Issues: https://github.com/endojs/endo/issues
- npm.io page: https://npm.io/package/@endo/base64

## 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

- 1.1.1 (latest) — 2026-06-12
- 1.1.0 — 2026-05-27
- 1.0.12 — 2025-07-12
- 1.0.11 — 2025-06-17
- 1.0.10 — 2025-06-02
- 1.0.9 — 2024-11-13
- 1.0.8 — 2024-10-10
- 1.0.7 — 2024-08-27
- 1.0.6 — 2024-07-30
- 1.0.5 — 2024-05-07
- 1.0.4 — 2024-04-04
- 1.0.3 — 2024-03-20
- 1.0.2 — 2024-02-15
- 1.0.1 — 2024-01-18
- 1.0.0 — 2023-12-12
- … 36 more at https://npm.io/package/@endo/base64/versions

## README

# `@endo/base64`

Base64 is a JavaScript package that encodes and decodes
[Base64](https://en.wikipedia.org/wiki/Base64) between strings and
`Uint8Array`s.

Base64 exports TypeScript definitions and is suitable for both web and Node.js.

## Install

```sh
npm install @endo/base64
```

## Usage

```js
import { encodeBase64, decodeBase64 } from '@endo/base64';

const string = encodeBase64(bytes);
const bytes = decodeBase64(string);
```

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