@creditkarma/dynamic-config
Version:
Dynamic Config for Node.js backed by Consul and Vault
13 lines • 397 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.jsonLoader = void 0;
const utils_1 = require("../utils");
exports.jsonLoader = {
type: 'json',
async load(filePath) {
return utils_1.FileUtils.readFile(filePath).then((content) => {
return utils_1.FileUtils.parseContent(content);
});
},
};
//# sourceMappingURL=json.js.map