A lightweight key value store that makes the stored values globally available.
import { GlobalStore } from "global-key-values"
GlobalStore.set(<key>,<value>)
GlobalStore.setMultiple([
{ key:<key>,value:<value> },
{ key:<key>,value:<value> }
])
const value = GlobalStore.get(<key>)
const values = GlobalStore.get([<key>,<key>])
GlobalStore.remove(<key>)
GlobalStore.removeMultiple([<key>,<key>])
const listener = GlobalStore.addListener(<listener name>,<callback function>)
GlobalStore.removeListener(<listener name>)
GlobalStore.removeAllListeners()
GlobalStore.getAllKeys()
GlobalStore.contains(<key>)
GlobalStore.clear()