Download node_modules/@supabase/auth-js/dist/module/lib/local-storage.js from metarm/QMetaRam: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40supabase/auth-js/dist/module/lib/local-storage.js
- Command line
-
hf download hf://metarm/QMetaRam/node_modules/@supabase/auth-js/dist/module/lib/local-storage.js
-
curl -L -o local-storage.js https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40supabase/auth-js/dist/module/lib/local-storage.js
440 Bytes
| /** | |
| * Returns a localStorage-like object that stores the key-value pairs in | |
| * memory. | |
| */ | |
| export function memoryLocalStorageAdapter(store = {}) { | |
| return { | |
| getItem: (key) => { | |
| return store[key] || null; | |
| }, | |
| setItem: (key, value) => { | |
| store[key] = value; | |
| }, | |
| removeItem: (key) => { | |
| delete store[key]; | |
| }, | |
| }; | |
| } | |
| //# sourceMappingURL=local-storage.js.map |