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