@lit-protocol/misc-browser
v5.0.0
Published
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
Downloads
36,794
Keywords
Readme
Quick Start
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.
node.js / browser
yarn add @lit-protocol/misc-browser
Vanilla JS (UMD)
<script src="https://cdn.jsdelivr.net/npm/@lit-protocol/misc-browser-vanilla/misc-browser.js"></script>
<script>
console.log(LitJsSdk_miscBrowser);
</script>