Tiny-env From dotenv, just a simple genie for loading .env files Install npm i --save tiny-env Use Will check if there is an .env file (or .env.dev file) in your project root path const TinyEnv = require('tiny-env') const { data: config } = TinyEnv module.exports = config