Hi .. I am a newbie to node.js . What I am trying to do is export value of a global variable in my ejs file , if the value is greater than 1 , insert data otherwise just display it . Now I can't find a way to use that value in my node module . Please help . Thank you !