Created
February 20, 2019 15:05
-
-
Save questsin/0cc5e590b9f4927467bd4e8e3aa37ec9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
//Read config values from a JSON file. | |
var config = fs.readFileSync('./app_config.json', 'utf8'); | |
config = JSON.parse(config); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment