UNPKG

golos-lib-js

Version:

Golos-js the JavaScript library with API for GOLOS blockchain

14 lines (13 loc) 260 B
"use strict"; const defaultConfig = require('../config.json'); module.exports = function () { const config = defaultConfig; const get = key => config[key]; const set = (key, value) => { config[key] = value; }; return { get, set }; }();