Slava Ukraini!

LocalStorage and SessionStorage helpers


What do they do?

  • Adds a prefix to storage keys
  • Handle JSON encoding/decoding for simple JSON object storage
  • Handle Null values

Local Storage Service

Data in localStorage does not expire.

Session Storage Service

Data in sessionStorage is cleared when the page session ends.