A Map implementation with expirable items
npm install expiry-map!CI 
> A Map implementation with expirable items
Memory is automatically released when an item expires by removing it from the Map.
```
$ npm install expiry-map
`js
import ExpiryMap = require('expiry-map');
const map = new ExpiryMap(1000, [
['unicorn', '🦄']
]);
map.get('unicorn');
//=> 🦄
map.set('rainbow', '🌈');
console.log(map.size);
//=> 2
// Wait for 1 second...
map.get('unicorn');
//=> undefined
console.log(map.size);
//=> 0
`
#### maxAge
Type: number
Milliseconds until an item in the Map expires.
#### iterable
Type: Object
An Array or other iterable object whose elements are key-value pairs.
Any of the Map methods.
- expiry-set - A Set` implementation with expirable keys
- map-age-cleaner - Automatically cleanup expired items in a Map
MIT © Sam Verschueren