Socket
Socket
Sign inDemoInstall

@metamask/sdk-install-modal-web

Package Overview
Dependencies
Maintainers
9
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/sdk-install-modal-web

MetaMask SDK Install Modal for Web


Version published
Weekly downloads
138K
decreased by-19.91%
Maintainers
9
Weekly downloads
 
Created
Source

Preact Embeddable Widget

Renovate enabled

Live preview

Features

  • Typescript
  • Smaller bundle size (Preact vs React)
  • Package fonts, CSS, json, transpiled javascript into one .js library bundle (via webpack)
  • Semantic versioning release management
  • Widget can be mounted in targeted Node
  • No conflicting CSS between the host and widget

Getting started

Install dependencies

yarn

Start hot-reload development server

yarn start

Building for production

Run yarn build to build the widget bundle for production

Releasing a new production version of the widget

Run yarn build:release and follow the interactive steps to tag a new version of your widget

Use Cases

  • Your widget needs to be easily added to websites with a <script> tag
  • Configurable at runtime (publishable keys and other config)
  • You find that an iframe is not flexible and feature rich enough for your needs

Inspired by https://github.com/seriousben/embeddable-react-widget

FAQs

Package last updated on 26 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc