| Store.js was originally released on HN in 2010 :) https://news.ycombinator.com/item?id=1468802 It's live on tens of thousands of websites (like cnn.com!) and has seen lots of improvements over the years. Store.js version 2 is a full revamp with pluggable storage (it will automatically fall back to one that works in every scenario by default), pluggable extra functionality (like expiration, default values, common array/object operations, etc), and fully cross-browser automatic testing using saucelabs.com. Feel free to ask any questions! I'm going to sleep now, but I'll make sure to answer in the AM. Cheers! |
Anyhow, I had a requirement to store raw strings to the local storage or userdata rather than go through your calls to JSON.parse/stringify. I forked and am using my fork rather than your maintained version, which is sad. Since you've got the hood popped for maintenance, would you mind adding raw string support to store.js in version 2? Thanks in advance. Here's my fork repo for reference, please see the getRawString and setRawString API's I added:
https://github.com/woldie/store.js