UNPKG

git-cat-file

Version:

Pure JavaScript `git cat-file -p` for node.js

18 lines (17 loc) 491 B
"use strict"; /** * https://github.com/kawanet/git-cat-file */ Object.defineProperty(exports, "__esModule", { value: true }); exports.longCache = exports.shortCache = void 0; const async_cache_queue_1 = require("async-cache-queue"); exports.shortCache = (0, async_cache_queue_1.queueFactory)({ cache: 1000, negativeCache: 1000, maxItems: 1000, }); exports.longCache = (0, async_cache_queue_1.queueFactory)({ cache: 3600000, negativeCache: 1000, maxItems: 1000, });