hapiest-server
Version:
A wrapper around Hapi.js with a configuration-first approach
20 lines (12 loc) • 365 B
JavaScript
;
const VO = require('hapiest-vo');
class HapiRouterPluginConfig extends VO {
constructor(config) {
super();
this._addProperties(config);
}
get enabled() { return this.get('enabled'); }
get routes() { return this.get('routes'); }
get cwd() { return this.get('cwd') }
}
module.exports = HapiRouterPluginConfig;