I am accessing a module from the node.js 's require cache. But it is returning a circular JSON structure. I want to access the exports property of the module. Please help :
   var moduleDef = require.cache[moduleName];
   console.log(moduleDef)         // Prints fine
   console.log(moduleDef.exports) // returns undefined
 
     
    