capped-local-storage
Local storage access layer that allows to remove the oldest entries
Install
npm install capped-local-storage --save
Usage
Check the included demo.
Prune old values
var storage = ; var key = 'FOO';var value = 'BAR'; storage;
Delete a value
var storage = ; var key = 'FOO';var value = 'BAR'; storage;