borewit

borewit/text-codec

Lightweight, dependency-free TextEncoder/TextDecoder polyfill supporting UTF-8, UTF-16LE, ASCII, Latin-1, and Windows-1252 for engines like Hermes.

TypeScript
1
3
MIT License

The `@borewit/text-codec` library is a lightweight polyfill providing reliable text encoding and decoding for UTF-8, UTF-16LE, ASCII, Latin-1, and Windows-1252, designed to work in environments with limited or inconsistent TextEncoder/TextDecoder support like Hermes (React Native) or certain Node.js builds. It offers a simple API for converting between binary data and strings, using native implementations when available and falling back to its own implementations for other encodings. This tool is ideal for developers working in constrained JavaScript runtimes who need consistent text encoding support.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

Borewit's profile
Borewit
27 contributions
dependabot[bot]'s profile
dependabot[bot]
3 contributions
AlexErrant's profile
AlexErrant
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet