cookie-mem
Quick and dirty hack of https://www.npmjs.com/package/tough-cookie-filestore to ensure cookies can be held and loaded from memory. Good only for cookies that don't need to be persisted on disk.
Usage no npm install needed!
<script type="module">
import cookieMem from 'https://cdn.skypack.dev/cookie-mem';
</script>