UNPKG

@willsoto/node-konfig-core

Version:

Core configuration pacakge supporting file, static and environment variables

15 lines 385 B
import { Loader } from "./base.js"; export class ValueLoader extends Loader { options; name = "value"; constructor(options) { super(options); this.options = options; } load(store) { Object.keys(this.options.values).forEach((key) => { store.set(key, this.options.values[key]); }); } } //# sourceMappingURL=value.js.map