Package
react-native-dotenv
Load .env into React Native with import statements. A Babel plugin that inlines environment variables at build time.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 261.3k
- +52% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 days ago
- v5.0.0
- GitHub stars
- 857
- 52 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 72
Downloads
Last week 2026-09-15 to 2026-09-21
261,305 downloads last week, 1,264,714 in the last month. The 12-month change of +52% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.0, 21 Sept 20263 days ago
- First published
- -
- Last push to GitHub
- 24 Sept 20261 day before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 72
- Dependents on npm
- 100
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 28 kB
- Dependencies (1)
dotenv
npm install react-native-dotenv- jsDelivr
https://cdn.jsdelivr.net/npm/react-native-dotenv@5.0.0/ - unpkg
https://unpkg.com/react-native-dotenv@5.0.0/ - esm.sh
https://esm.sh/react-native-dotenv@5.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| react-native-keys | 6k | - | 1 year ago | CommonJS | - |
| zod-config | 7.7k | - | 10 months ago | ESM + CommonJS | - |
| envars | 7.6k | - | 1 year ago | ESM only | - |
| dotenv-flow | 799.1k | - | 2 years ago | CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| convict | 883.5k | - | 6 months ago | CommonJS | - |
| @dotenv-run/core | 45.9k | - | 1 year ago | ESM + CommonJS | - |
| @dotenv-run/webpack | 28.5k | - | 1 year ago | ESM + CommonJS | - |
Indexability: Indexed.