require json from another file nodejs 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.