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
prexix ++ ".".
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 the Ports instance you passed to make or setPorts.
Set the internal Ports value. Fetch it back with getPorts.
Opaque type. Returned by
makeandgetPorts. Passed to the other functions.