Coder Social home page Coder Social logo

browser's Introduction

Shake Web SDK

npm version

Browser plugin for bug reporting.

Features

Feature Available
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

CDN

Alternatively, library can be added to your project through CDN. Bundle is delivered through JSDelivr CDN.

Add the following script to your code:

<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

Call Shake.start() in your index.js file.

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

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

Example usage in HTML

Call Shake.start() in your main file.

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

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

Resources

browser's People

Contributors

smislav avatar mstanic-shake avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.