react-web-config

JSON →
library 1.0.0 ·javascript
verified May 1, 2026

A drop-in replacement for react-native-config that makes environment variables from a .env file accessible in React Native Web projects. Version 1.0.0 is stable, with no recent updates. It works by aliasing react-native-config to react-web-config and injecting variables via a webpack plugin. Unlike alternatives that require separate config files or build-time substitution, it mirrors the react-native-config API exactly, making migration seamless. It has minimal dependencies and is intended for projects already using react-native-config with react-native-web.

total hits 15
actors 5 distinct systems
last hit 4d ago AhrefsBot
GPTBot
5
MetaBot
3
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇮🇳 India · 🇪🇸 Spain