feat: 1st attempt repo restructure

This commit is contained in:
Randell Dawson
2018-11-22 02:13:48 +05:30
committed by mrugesh mohapatra
parent 51d7b02dae
commit ae7b1eba37
33 changed files with 422 additions and 535 deletions
+9
View File
@@ -0,0 +1,9 @@
const fs = require('fs');
const openJSONFile = fileName => {
const data = JSON.parse(fs.readFileSync(fileName, 'utf8'));
console.log('Opened JSON file')
return data;
};
module.exports = { openJSONFile };