Socket
Book a DemoInstallSign in
Socket

@shakebugs/browser

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shakebugs/browser

Browser SDK for Shake

Source
npmnpm
Version
0.4.6
Version published
Weekly downloads
2.2K
-19.85%
Maintainers
1
Weekly downloads
 
Created
Source

Shake Web SDK

npm version

Browser plugin for bug reporting.

Features

FeatureAvailable
Bug reporting
Crash reporting
Users

How to use

Install Shake

NPM

If using npm, execute the npm install command in your terminal:

npm install @shakebugs/browser

Script tag

Alternatively, you can include this library directly into your HTML file using a script tag:

<script type="module">
	import Shake from 'https://cdn.jsdelivr.net/npm/@shakebugs/browser@latest/+esm';
	window.Shake = Shake;
</script>

Start Shake

Once installed, you can start using the library by including it in your JavaScript files or directly within your HTML.

Call Shake.start() at the top level of your app

Example usage in Javascript

// Import the library if using ES6 modules
import Shake from '@shakebugs/browser';

Shake.start('client-id', 'client-secret');

Example usage in HTML

<body>
	<script>
		window.Shake.start('client-id', 'client-secret');
	</script>
</body>

Replace client-id and client-secret with the actual values you have in your workspace settings.

Resources

  • Official docs

Keywords

bug

FAQs

Package last updated on 16 Feb 2024

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