relay-cfg/lib/bcfg.js

19 lines
347 B
JavaScript
Raw Normal View History

2017-10-29 14:08:10 +00:00
/*!
* bcfg.js - configuration parsing for bcoin
* Copyright (c) 2016-2017, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
*/
'use strict';
const Config = require('./config');
function bcfg(module, options) {
return new Config(module, options);
}
bcfg.config = bcfg;
bcfg.Config = Config;
module.exports = bcfg;