adityanandanx / adityanandanx/ecom
load environment variables through a config object
Aperta
backend
enhancement
good first issue
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I should be able to access typed environment variables by-
```ts
import config from "./config";
console.log(config.TEST_USER_TOKEN);
```
and it must raise appropriate errors if the env variable does not exist.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.