let fs = require('fs'); let filename = '/path/to/File.json'; fs.readFile(filename, 'utf8', function (err, data) { // if an error occurs if(err) throw err; console.log(data); }