You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loads environment variables for the target environment from `.env` files using [dotenv](https://github.com/motdotla/dotenv); supports cloud secret providers such as [Google Secret Manager](https://cloud.google.com/secret-manager).
8
+
Loads environment variables for the target environment from `.env` files using [dotenv](https://github.com/motdotla/dotenv). Also supports cloud secret providers such as [Google Secret Manager](https://cloud.google.com/secret-manager), [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/), and (experimental) Azure Key Vault. Now you can keep your secrets secret, even from yourself.
9
+
10
+
## Features
11
+
12
+
- Loads `.env` files using Vite-style conventions
13
+
- Supports secret references from Google, AWS, and Azure
14
+
- TypeScript and monorepo friendly
15
+
- Works with Vite, Node.js, and serverless deployments
16
+
- Simple API, zero-config for most use cases
17
+
18
+
## Why envars?
19
+
20
+
-**Unified config**: Manage local and cloud secrets with a single API.
21
+
-**Predictable**: Follows conventions from Vite and modern Node.js tooling.
22
+
-**Flexible**: Works in monorepos, serverless, and traditional deployments.
23
+
-**Type-safe**: Integrates with envalid, Zod, and other schema validators.
9
24
10
25
By default it attempts to load `.env` files from the current working directory using the following naming convention ([learn more](https://vitejs.dev/guide/env-and-mode.html#env-files)):
11
26
@@ -18,19 +33,30 @@ By default it attempts to load `.env` files from the current working directory u
18
33
19
34
Created and diligently upheld with the generous backing of these exceptional companies:
- 💬 [Join our Discord](https://discord.gg/bSsv7XM) for questions, help, and discussion (or just to show off your best `.env` puns)
213
+
- 🐞 [Report issues](https://github.com/kriasoft/envars/issues) or request features on GitHub
214
+
- 🙏 [Sponsor development](https://github.com/sponsors/koistya) to support ongoing maintenance (we promise not to spend it all on coffee)
215
+
175
216
## How to Contribute
176
217
177
218
Please [fork the repo](https://github.com/kriasoft/envars/fork), create a [PR](https://docs.github.com/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request), or send me a message on [Discord](https://discord.gg/bSsv7XM) (`@koistya`).
0 commit comments