node js require global variables code example Example: node.js save global variable global.number = 5;