bevacqua / local-storage

:left_luggage: A simplified localStorage API that just works
https://ponyfoo.com
MIT License
523 stars 62 forks source link

Feature: Cookie fallback, and JSON caching #22

Open ShukantPal opened 5 years ago

ShukantPal commented 5 years ago

I want to implement a feature for this site - falling back on the cookie (by setting a flag by the client, to avoid compatibility) for persistent storage, and caching the localStorage objects instead of always returning JSON.parse in ls.get.

In addition, I want to add event-listener support and encryption support.

Will these features be welcomed?