browser-session -- IndexedDB / localStorage key-value store

browser-session is a Promise-based key-value store backed by IndexedDB (localStorage when IndexedDB is unavailable). Type a key and a value, then click Set / Get / Delete; List all re-reads the table below and Clear empties the store. Values persist across page reloads -- click Reload page and the table comes back. Every result and rejection is written to the log.

Active: loading module... -- session id -

A value that parses as JSON (42, true, {"done":false}, [1,2]) is stored with that type; anything else is stored as a string.

Waiting for the browser-session module...

Stored items (0)

keyvaluetype
not loaded yet

Log