constantinescumircea / simpleStorage

Cross-browser key-value store database to store data locally in the browser. Simpler fork of jStorage
The Unlicense
305 stars 53 forks source link

Create global defaults object #16

Open will-e-yams opened 9 years ago

will-e-yams commented 9 years ago

Support global defaults object with access to the following properties:

aghouseh commented 9 years ago

Was just scanning the source for this exact capability; definitely would love to see this implemented. :ok_hand:

andris9 commented 9 years ago

I extracted the TTL code into a separate project TTL that makes it possible to create custom TTL implementations. There's also a localStorage based example but you could use any backend.