UNPKG

cloud-report

Version:

Collects and analyzes cloud resources

16 lines (15 loc) 397 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CacheUtil { static delete(key) { delete CacheUtil.cache[key]; } static get(key, defaultVal) { return CacheUtil.cache[key] || defaultVal; } static put(key, value) { CacheUtil.cache[key] = value; } } CacheUtil.cache = {}; exports.CacheUtil = CacheUtil;