Socket
Book a DemoInstallSign in
Socket

@bitrise/beam

Package Overview
Dependencies
Maintainers
9
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitrise/beam

Beam is a JavaScript component that gives users a way back to Bitrise from Add-on provider sites

latest
npmnpm
Version
0.2.1
Version published
Maintainers
9
Created
Source

Beam

Beam is a JavaScript widget that add-on developers can embed into their page to allow users to return to Bitrise. It has no dependencies and works on a wide variety of screen sizes and browser versions.

Screenshots

Usage

Install:

npm install @bitrise/beam
var Beam = require("@bitrise/beam").Beam;
import { Beam } from "@bitrise/beam";

// after DOMContentLoaded
Beam.init({
  // options
});

Or include into a webpage

<script src="https://unpkg.com/@bitrise/beam@<version>/dist/beam.min.js"></script>
<script type="text/javascript">
  Beam.init({
    // options
  });
</script>

Options

  • anchor: node to attach Beam to, document.body by default
  • app_slug: slug for the app whole add-on page we're on
  • app_name: name of the app whose add-on page we're on
  • addon_documentation: URL to the documentation for this addon

Local example

Beam can be run locally using webpack-dev-server.

FAQs

Package last updated on 05 Jul 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.