external json in script.js file -node code example
Example: nodejs include json file
config = require("./yourfile.json"); // Note, "config" can be changed to your liking.
config = require("./yourfile.json"); // Note, "config" can be changed to your liking.