# @bacons/text-decoder

> A light-weight TextDecoder polyfill for React Native Hermes that only supports utf-8

Latest version **0.0.0** (published 2024-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bacons/text-decoder
pnpm add @bacons/text-decoder
yarn add @bacons/text-decoder
bun add @bacons/text-decoder
```

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2024-05-08 |
| First published | 2024-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Evan Bacon |
| Maintainers | evanbacon |
| Keywords | expo |

## Links

- npm: https://www.npmjs.com/package/@bacons/text-decoder
- Repository: https://github.com/evanbacon/text-decoder-polyfill
- Homepage: https://github.com/evanbacon/text-decoder-polyfill#readme
- Issues: https://github.com/evanbacon/text-decoder-polyfill/issues
- npm.io page: https://npm.io/package/@bacons/text-decoder

## Recent versions

- 0.0.0 (latest) — 2024-05-08

## README

# @bacons/text-decoder

In Expo SDK 51 (React Native 74), Hermes supports TextEncoder natively but not TextDecoder. This library provides a TextDecoder implementation for Hermes that only supports UTF-8 (all legacy encodings are removed for bundle size).

You can install it on the global with:

```js
import "@bacons/text-decoder/install";
```

Supports web, ios, android, server, and the upcoming Expo React Server environment for native platforms.

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