@bacons/text-decoder
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

@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:

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

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.010,072latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.010,072

Package Sidebar

Install

npm i @bacons/text-decoder

Weekly Downloads

9,598

Version

0.0.0

License

MIT

Unpacked Size

18 kB

Total Files

13

Last publish

Collaborators

  • evanbacon