# @keeex/bubble_babble

> Bubble Babble encoding

Latest version **3.0.1** (published 2025-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @keeex/bubble_babble
pnpm add @keeex/bubble_babble
yarn add @keeex/bubble_babble
bun add @keeex/bubble_babble
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2025-02-27 |
| First published | 2023-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tylor Reynolds |
| Maintainers | marc-keeex, cley_faye, keeex_jenkins |
| Keywords | bubble, babble, encode, encrypt |

## Links

- npm: https://www.npmjs.com/package/@keeex/bubble_babble
- Homepage: https://keeex.me/oss
- npm.io page: https://npm.io/package/@keeex/bubble_babble

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

- 3.0.1 (latest) — 2025-02-27
- 2.1.13 (old-v2) — 2025-02-27
- 3.0.0 — 2025-02-24
- 2.1.12 — 2025-02-24
- 2.1.11 — 2025-02-24
- 2.1.10 — 2025-02-18
- 2.1.8 — 2025-02-18
- 2.1.7 — 2025-02-14
- 2.1.6 — 2023-06-23
- 2.1.5 — 2023-06-23
- 2.0.0 — 2023-06-23
- 1.0.1 — 2023-06-23
- 1.0.0 — 2023-06-23

## README

`@keeex/bubble_babble`
======================



Bubble Babble encoding.

Initially forked from tylorr/bubble\_babble to avoid the dependency on `Buffer`, thus making this
library work in more JavaScript environments.

Installation
------------
Installation is done from npmjs:

```bash
npm install @keeex/bubble_babble
```

Usage
-----

```JavaScript
import {encode, decode} from "@keeex/bubble_babble/lib/bubble_babble.js";

const encoded = encode("Pineapple");
console.log(encoded); // "xigak-nyryk-humil-bosek-sonax"

const ab = decode("xesef-disof-gytuf-katof-movif-baxux");
const ascii = new TextDecoder().decode(ab);
console.log(ascii); // "1234567890"
```

`encode()` accepts input as UTF8 string, `ArrayBuffer` or `Uint8Array`.
`decode()` returns an `ArrayBuffer`.

There is a secondary export `@keeex/bubblebabble/web/bubble_babble.js` that can be used in
browser environment.
It should be possible to directly import `@keeex/bubble_babble` but this depend on your
environment/bundler.

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