marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.02k stars 1.33k forks source link

set expiration using update #233

Closed felipeceglia closed 7 years ago

felipeceglia commented 7 years ago

Hello, is it possible to set expiration on a stored while if it is added by update?

marcuswestin commented 7 years ago

Yes. Every time you call store.set(key, val, expiration) the expiration date gets updated.