@irsooti/localstorage-manager
v1.1.5
Published
A simple wrapper to handle localStorage without worrying about json conversion
Maintainers
Readme
Localstorage manager 
The library is pretty simple, because is pretty similar to legacy localstorage api.
tryGetValue(property): provided function is used to get the object accessing to corresponding property (like localStorage.getItem());setValue(propertyName, object): set a property name and put your object. That's it.removeValue(property): It works like localStorage.removeItemreset(): It works like localStorage.cleartryParseLocalStorage(): It try to parse the whole localStorage
Events handler
localstoragemanager:change: The event is fired when a change occurs by localStorageManager, it returns an empty detail for now;localstoragemanager:remove: The event is fired when a property is removed by localStorageManager and it returns a detail wich contains the key removedlocalstoragemanager:set: The event is fired when a property is setted by localStorageManager and it returns a detail wich contains the key and the value added
