How can i create global object that i will update with key and value while i use my app?
I need to create global object that i will add more data while the client use the appliaction.
Now i use this :
var json = {}
exports.module = {json}
And this is how i call it :
let json = require("../stroe/store")
But my json value restart to nothing each time that user call the server...
How can i create global object in nodejs?