dotenv.config({ path: '../src/assets/.env' }) not worked code example
Example: .env file vars nto defined in child directory
const ck = require('ckey');
const userName = ck.USER; // [email protected]
const password = ck.PASSWORD; // iampassword123
const apiKey = ck.API_KEY; // 1234567890