beyond
Version:
The Full Stack Universal Typescript Framework
23 lines (18 loc) • 603 B
JavaScript
module.exports = new class extends Map {
get ready() {
return this.
}
const path = require('path').join(global.lib, '../packages/local');
const config = new global.utils.Config(path, {'/start': 'object', '/static': 'object'});
config.data = 'library.json';
await config.ready;
this.set(path, config);
this.
}
constructor() {
super();
this.
}
}