UNPKG

@creditkarma/dynamic-config

Version:

Dynamic Config for Node.js backed by Consul and Vault

15 lines 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ymlLoader = void 0; const YAML = require("yamljs"); exports.ymlLoader = { type: ['yml', 'yaml'], async load(filePath) { return new Promise((resolve, reject) => { YAML.load(filePath, (configObj) => { resolve(configObj); }); }); }, }; //# sourceMappingURL=yaml.js.map