šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@bacons/text-decoder

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bacons/text-decoder

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

0.0.0
latest
Source
npm
Version published
Weekly downloads
9.2K
13.51%
Maintainers
1
Weekly downloads
Ā 
Created
Source

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

Keywords

expo

FAQs

Package last updated on 08 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts