Browser plugin for bug reporting.
| Feature | Available |
|---|---|
| Bug reporting | ✅ |
| Crash reporting | ❌ |
| Users | ✅ |
Execute the npm install command in your terminal:
npm install @shakebugs/browserOnce installed, you can start using the library by calling Shake.start() at the top level of your app
// Import the library if using ES6 modules
import Shake from '@shakebugs/browser';
Shake.start('app-api-key');Replace app-api-key with the actual value you have in your app settings on dashboard.
Optionally, pass your app version as the second argument. Web apps don't have a built-in versioning system, so Shake can't detect it automatically — it defaults to "1.0.0" if you don't pass one.
Shake.start('app-api-key', '1.0.0');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>Once installed, you can start using the library by calling Shake.start() at the top level of your app
<body>
<script>
window.Shake.start('app-api-key');
</script>
</body>Replace app-api-key with the actual value you have in your app settings on dashboard.
Optionally, pass your app version as the second argument. Web apps don't have a built-in versioning system, so Shake can't detect it automatically — it defaults to "1.0.0" if you don't pass one.
<body>
<script>
window.Shake.start('app-api-key', '1.0.0');
</script>
</body>