adityanandanx/ecom
load environment variables through a config object
Aberta
#7 aberto em 26 de mar. de 2024
backendenhancementgood first issue
Métricas do repositório
- Stars
- (0 estrela)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
I should be able to access typed environment variables by-
import config from "./config";
console.log(config.TEST_USER_TOKEN);
and it must raise appropriate errors if the env variable does not exist.