app01/
|-config/
| `-config.properties
|-node_modules/
|-index.js
|-packages-lock.json
`-package.json
- config/config.properties
database.host = localhost
database.name = azold
database.user = janos
database.pass = titok
- index.js
var PropertiesReader = require('properties-reader');
var config = PropertiesReader('config/config.properties');
console.log(config.get('database.host'));
console.log(config.get('database.name'));
console.log(config.get('database.user'));
console.log(config.get('database.pass'));