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.42 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.41 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.40 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.39 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.38 node_modules/ajv/lib/cache.js
optimacms-0.1.61 spec/dummy/node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.32 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.31 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.30 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.29 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.28 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.27 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.26 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.25 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.24 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.23 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.22 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.21 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.20 node_modules/ajv/lib/cache.js
immosquare-cleaner-0.1.19 node_modules/ajv/lib/cache.js