@wpe-tkpd/client-storage
Utility to use client-side storage (e.g. localStorage). With fallback to cookie if the browser doesn't support localStorage
Usage no npm install needed!
<script type="module">
import wpeTkpdClientStorage from 'https://cdn.skypack.dev/@wpe-tkpd/client-storage';
</script>