Skip to main content
var settings =  JSON.parse( require('fs').readFileSync( require('path').resolve( __dirname,  'settings.json'), 'utf8')); 
var settings = JSON.parse(require('fs').readFileSync(require('path').resolve(__dirname, 'settings.json'),'utf8')); 
var settings =  JSON.parse( require('fs').readFileSync( require('path').resolve( __dirname,  'settings.json'), 'utf8')); 
Source Link
foobar
  • 287
  • 3
  • 2

var settings = JSON.parse(require('fs').readFileSync(require('path').resolve(__dirname, 'settings.json'),'utf8'));