1npm install dotenv;
2 OR
3yarn add dotenv;
4
5
6import * as dotenv from 'dotenv';
7
8//inside your starter code, do this
9...
10...
11dotenv.config();
12...
1declare namespace NodeJS { export interface ProcessEnv { HOST: string; DB_URL: string; DB_NAME?: string; }}