@lit-protocol/misc-browser
TypeScript icon, indicating that this package has built-in type declarations

6.11.0 • Public • Published

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>

Readme

Keywords

Package Sidebar

Install

npm i @lit-protocol/misc-browser

Weekly Downloads

7,820

Version

6.11.0

License

MIT

Unpacked Size

15.2 kB

Total Files

8

Last publish

Collaborators

  • maximushaximus
  • famura
  • josh-long
  • hwrdtm
  • websaam
  • adarsh-kumar28
  • glitch003