React Native Static HTTP Server

JSON →
library 0.5.0 ·javascript
verified May 27, 2026

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.

total hits 17
actors 6 distinct systems
last hit 6d ago MetaBot
GPTBot
5
MetaBot
4
Script
1
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France