Sha256: e46dcc11c6e844f644ca331bf7d5caeb3ad1357ca540215da9668f6c58c6aa89

Contents?: true

Size: 409 Bytes

Versions: 279

Compression:

Stored size: 409 Bytes

Contents

'use strict';


var Cache = module.exports = function Cache() {
  this._cache = {};
};


Cache.prototype.put = function Cache_put(key, value) {
  this._cache[key] = value;
};


Cache.prototype.get = function Cache_get(key) {
  return this._cache[key];
};


Cache.prototype.del = function Cache_del(key) {
  delete this._cache[key];
};


Cache.prototype.clear = function Cache_clear() {
  this._cache = {};
};

Version data entries

279 entries across 162 versions & 21 rubygems

Version Path
immosquare-cleaner-0.1.62 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.61 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.60 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.59 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.58 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.57 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.56 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.55 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.54 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.53 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.52 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.51 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.50 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.49 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.48 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.47 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.46 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.45 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.44 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.43 node_modules/ajv/lib/cache.js