ram64
Version:
Multi-threaded 64bit memory cache database inspired by redis-like features
18 lines (17 loc) • 430 B
JavaScript
;
exports.fn = void 0;
var _getWithOptions = require("./getWithOptions");
var _del = require("./del");
var _setWithOptions = require("./setWithOptions");
const fn = (opts)=>{
const obj = (0, _getWithOptions).fn(opts);
if (!obj) return void 0;
(0, _del).fn(opts);
(0, _setWithOptions).fn({
...opts,
args: obj
});
return obj;
};
exports.fn = fn;
//# sourceMappingURL=touch.js.map