PillowPillow / ng2-webstorage

Localstorage and sessionstorage manager - Angular service
MIT License
428 stars 92 forks source link

Set expires #138

Open mackelito opened 4 years ago

mackelito commented 4 years ago

Would love to see a feature where we can set expires much like on a cookie.. of course we can implement this feature on our own, just thought it would be a nice extra feature for the library :)

PillowPillow commented 3 years ago

Hello @mackelito, I never needed it but I agree with you, it could be a good features. Feel free to open a pull request, I would be pleased to accept it.

mackelito commented 3 years ago

We don't have that need either.. just thought it would be a nice addition.. If I get time over I would take a look at it but not for a few weeks at least :)

sergeyglazyrindev commented 2 years ago

hey guys! Here is pull request for this issue: https://github.com/PillowPillow/ng2-webstorage/pull/157