# @hazae41/base16

> Base16 adapter for JS implementations

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

## Install

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

## 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-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 22.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hazae41 |
| Maintainers | hazae41 |
| Keywords | base16, base-16, encoding, encoder, adapter, typescript, esmodules |

## Links

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

## 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.4 — 2025-07-14
- 1.1.3 — 2025-07-14
- 1.1.2 — 2025-07-13
- 1.1.1 — 2025-05-25
- 1.1.0 — 2025-05-25
- 1.0.19 — 2025-04-23
- 1.0.18 — 2024-08-31
- 1.0.17 — 2024-02-23
- 1.0.16 — 2023-11-02
- 1.0.15 — 2023-11-02
- 1.0.14 — 2023-10-12
- 1.0.13 — 2023-10-12
- … 12 more at https://npm.io/package/@hazae41/base16/versions

## README

# Base16

Base16 adapter for JS implementations

```bash
npm i @hazae41/base16
```

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

## Features

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

## Usage

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

```tsx
const decoded: Uint8Array = Base16.decodeOrThrow(encoded)
```

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