9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Functions

FunctionDescription
clearRemoves all values.
flushFlush all changes to disk synchronously.
getAllKeysGet all stored keys
getBooleanGets a value (if existing) for a key as a Boolean Object. A default value can be provided in case there is no existing value.
getNumberGets a value (if existing) for a key as a Number Object. A default value can be provided in case there is no existing value.
getStringGets a value (if existing) for a key as a String Object. A default value can be provided in case there is no existing value.
hasKeyChecks whether such a key exists.
removeRemoves a value (if existing) for a key.
setBooleanSets a Boolean Object for a key.
setNumberSets a Number Object for a key.
setStringSets a String Object for a key.
Next
clear