node import json into javascript file 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.