0.0.2 • Published 7 years ago
load-config-json v0.0.2
Just like the "config" function in Laravel
Jump Start
const LoadConfig = require('load-config-json');
const path = require('path');
const loadConfig = new LoadConfig(path.resolve(__dirname, '../config'));
let value = loadConfig.config('JsonName.key.secondKey.ThirdKey');
console.log(value);