Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightstep-overlay

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightstep-overlay

An in-browser, development overlay that provides links to real-time tracing data.

  • 1.1.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
40
decreased by-25.93%
Maintainers
3
Weekly downloads
 
Created
Source

lightstep-overlay

npm version Circle CI MIT license

An in-browser, development overlay that provides links to real-time tracing data.

example

Installation

Using the script directly

The lightstep-overlay.min.js file can be downloaded and included in your HTML page directly:

<script src="lightstep-overlay.min.js"></script>

Initializing with a tracer object: the package is exported under the global symbol LightStepOverlay. Call LightStepOverlay.initialize(tracer) to initialize overlay. tracer must be a valid lightstep.Tracer object.

Via NPM:
npm install --save lightstep-overlay

The overlay script will be located in node_modules/dist/lightstep-overlay.min.js. Include the script in your HTML via whatever mechanism works best for your web application.

To initialize the overlay call initialize:

import lightstep from 'lightstep-tracer';
import initializeOverlay from 'lightstep-overlay';

let tracer = new lightstep.Tracer(options);

// Initialize the overlay
initializeOverlay(tracer);
Using as a module

The source is compiled down to ES5 code in unbundled form into the lib directory. The package.json main entry-point uses this code.

Keywords

FAQs

Package last updated on 22 Aug 2019

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