expirable-hash-table
Expirable HashTable to enable timeout-based item removal from HashTable.
Install
npm install expirable-hash-table
Use
var ExpirableHashTable = var myTable = 1000 // default timeout in miliseconds myTable // optional timeout in miliseconds myTable // -> valuemyTable // -> ExpirableHashTablemyTable // -> true/falsemyTable // -> ExpirableHashTablemyTable // -> ArraymyTablesize // -> Integer myTable myTable
License
MIT