var pryStorage = new localStorageDB();
pryStorage.set("test", "test value") // return boolean
With key
name, you can get value of key in localStorage db.
pryStorage.get("test") // return value
it's for get all records in localStorage and return Array<>
of records.
pryStorage.getAll() // return Array<>
Remove Key in LocalStorage
pryStorage.remove("test") // return boolean
Clear LocalStorage of Records.
pryStorage.clearAll() // return boolean
If your Browser does not support the localStorage, this function return false.
pryStorage.checkifSupport() // return boolean