The 'LocalStorage' module does most of the work in using the JavaScript localStorage facility to persistently store key/value pairs.
Make a LocalStorage instance.
If prefix is not empty (""), will prefix all keys in JS localStorage with
prefix ++ ".".
Create a Ports value, using what are usually your real Elm ports.
Return a Cmd to fetch the value for the Key from LocalStorage.
Return a Cmd to set the value for the Key to Value in LocalStorage.
Return a Cmd to clear all JS localStorage keys that begin with the prefix passed to make.
Return a Cmd to list all JS localStorage keys that begin with the prefix passed to make followed by the String you pass here.
Return the Ports instance you passed to make or setPorts.
Set the internal Ports value. Fetch it back with getPorts.
Get the prefix passed to make
Opaque type. Returned by
makeandgetPorts. Passed to the other functions.