React Native Static HTTP Server
JSON →react-native-static-server provides a cross-platform HTTP static file server component for React Native applications, enabling them to serve local assets over HTTP. The current stable version is 0.5.0, released in March 2024, indicating a moderate release cadence. It leverages native web server implementations (GCDWebServer for iOS and NanoHttpd for Android) to offer robust performance. Key differentiators include its seamless integration with `react-native-fs` for managing file paths, options for serving from the document directory or the app's main bundle, and configurations for local-only access and maintaining server activity while the app is in the background via a `keepAlive` option. It's designed to simplify serving packaged web content or dynamically created local files within a React Native environment.
Traffic · last 30 days ↓56% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France