{"repo":"craftzdog/react-native-quick-base64","free":true,"listed":false,"github":"https://github.com/craftzdog/react-native-quick-base64","clone":"git clone https://github.com/craftzdog/react-native-quick-base64.git","description":"A fast base64 module for React Native","language":"C++","stars":463,"topics":["react-native"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-quick-base64 A blazing fast, native Base64 implementation for React Native using C++ and JSI. This library is 30x faster than base64-js. Try the benchmarks in the example app. --- Features - ⚡ Native C++/JSI implementation for maximum performance - 🧠 Automatically installs its JSI bindings at runtime - 🧩 Drop-in replacement for base64-js with matching API - 🔒 No additional native setup or linking required --- Installation [!IMPORTANT] Requires the New Architecture. Version 3.0.0 + is a pure C++ TurboModule and only registers when the app runs with React Native's New Architecture enabled: - Bare React Native: newArchEnabled=true (default on RN 0.76+; forced on 0.85+). - Expo: SDK 54+ (New Architecture is default), or SDK 53 with New Architecture explicitly enabled. On the Old Architecture you'll get TurboModuleRegistry.getEnforcing(...): 'QuickBase64' could not be found . Enable the New Architecture and rebuild ( cd android && ./gradlew clean ), or pin react-native-quick-base64@2.2.2 to stay on the Old Architecture. --- This module installs its native bindings automatically. Simply importing the library is enough to activate the native backend. Add it to your root entry point file or your first \\ layout.tsx. You can also import individual helpers: Usage --- API Compatible with base64-js. byteLength(b64: string): number Returns the length of the byte array that corresponds to the base64 string. toByteArray(b64: string, removeLinebreaks: boolean = false): Uint8Ar","default_branch":null,"files":null,"tree":[],"storefront":"/r/craftzdog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craftzdog/react-native-quick-base64/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}