Cyst is a helper to ease the use of the JavaScript localStorage
object of the browser
- on GitLab: https://gitlab.com/k33g/cyst
- on GitHub: https://github.com/k33g/cyst
cyst.setItem("german_salutation", "Morgen")
cyst.setItem("english_salutation", "Hello")
v.setItem("french_salutation", "Salut")
cyst.items.filter(item => item[0].includes("salutation")) // 3 records
cyst.items.find(item => item[0].includes("salutation")) // 1 record ["german_salutation", "Morgen"]
cyst.items.forEach(item => console.log("key:", item[0], "value:", item[1]))
- more examples
this part is only to test the bi-directional synchronisation
- ๐
- ๐ฆ 15:26
- ๐ฟ 15:37
- ๐ 16:20
- ๐ 17:07
- ๐ 17:28