Support for TTL
Hi,
Can't find support for TTL. Would be very usefull.
Thanks
What is TTL?
@jonschlinkert Hi Sorry for not adding context. I thought it would be implicit.
TTL stands for Time To Live
Would be great to add a TTL value in milliseconds as a parameter in the set method. Then when using the get method, it would automatically expire values based on time calculation.
I hope it is clear enough. What are your thoughts on this? Thank you! :)
TTL stands for Time To Live
Oh, of course. I thought you meant a library or framework. Thanks for clarifying and sorry for taking so long to reply. I haven't been that active recently, but I'm planning to spend a lot more time getting libraries updated.
A PR for this would be welcome. I'd prefer no extra dependencies if possible/practical.