adityanandanx/ecom

load environment variables through a config object

开放

#7 创建于 2024年3月26日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (1 个派生)auto 404
backendenhancementgood first issue

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南