var config = require("settings.js");
Or you could parse the config in a separate vm and import the result as JSON.