chovy 1935 days ago. link 1 point ▲ ▼This is the best way. `const cfg = require('dotenv').configure();`