Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.env file vars nto defined in child directory

const ck = require('ckey');

const userName = ck.USER;     // sample@gmail.com
const password = ck.PASSWORD; // iampassword123
const apiKey   = ck.API_KEY;  // 1234567890
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #vars #nto #defined #child #directory
ADD COMMENT
Topic
Name
4+3 =