lib:indexeddb ls

none

Verze ze dne 07. 03. 2025. Zobrazit nejnovější verzi.

Autor
rssa_romeo
Hodnocení
0 0 0
Verze
9
Vytvořeno
03. 04. 2024
Aktualizováno
07. 03. 2025
Size
5,8 KB
Licence
GPLv3
Spustit na
všech stránkách

use indexeddb like localstorage
example:
const setupls = loadlib("indexeddb ls")
const ls = await setupls('name')
log(ls.test) //undefined
ls.test = 'testing'
log(ls.test) //testing
ls.obj = {asd:'asd'}
log(ls.obj) //{asd:'asd'}

requires:
https://greasyfork.org/en/scripts/491562-libloader-lib
https://greasyfork.org/en/scripts/489763-all-functions-lib