UNPKG

transitory

Version:

In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.

15 lines 372 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.newCache = void 0; var CacheBuilder_1 = require("./CacheBuilder"); /** * Create a new cache via a builder. * * @returns * builder of a cache */ function newCache() { return new CacheBuilder_1.CacheBuilderImpl(); } exports.newCache = newCache; //# sourceMappingURL=index.js.map