nodejs include json file

JavaScript
config = require("./yourfile.json"); // Note, "config" can be changed to your liking. 
Source

Also in JavaScript: