Spaces:
Sleeping
Sleeping
Download gui/frontend/node_modules/ajv/lib/cache.js from BrianLov/guiBackend: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/BrianLov/guiBackend/resolve/main/gui/frontend/node_modules/ajv/lib/cache.js
- Command line
-
hf download hf://spaces/BrianLov/guiBackend/gui/frontend/node_modules/ajv/lib/cache.js
-
curl -L -o cache.js https://huggingface.co/spaces/BrianLov/guiBackend/resolve/main/gui/frontend/node_modules/ajv/lib/cache.js
409 Bytes
| ; | |
| 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 = {}; | |
| }; | |