var fs = require('fs');
fs.readFile(app.getPath('desktop')+'/thefile.json', 'utf-8', (err, existingData) => {
  if(err){ }
  console.log("existingData: "+existingData);
})
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *