This submodule includes functions for interaction with local storage (get, set, remove), converting between Blob and base64 string, converting a file to a data URL, downloading a file, and injecting an iFrame for displaying LIT content on the current page, all within the JavaScript SDK for the Lit Protocol.
yarn add @lit-protocol/misc-browser
<script src="https://cdn.jsdelivr.net/npm/@lit-protocol/misc-browser-vanilla/misc-browser.js"></script>
<script>
console.log(LitJsSdk_miscBrowser);
</script>