a localStorage compliant implementation Usually, you will use the browser localStorage, so
new LocalStorageMonitorRepository(window.localStorage)
would be your way to go
Additional options
Gets a specific monitor by key
The identifier of the monitor
the monitor instance, or null if not found
Gets all stored monitors
the monitor instances
Inserts/Serializes a monitor, if not exists already
The monitor instance
Removes a monitor
The monitors key
A repository to persist a monitor in a localStorage like/compliant storage