Browser SDK for Shake
npm install @shakebugs/browser
Browser plugin for bug reporting.
| Feature | Available |
| :-------------: | :-------: |
| Bug reporting | ✅ |
| Crash reporting | ❌ |
| Users | ✅ |
Execute the npm install command in your terminal:
``bash`
npm install @shakebugs/browser
Once installed, you can start using the library by calling Shake.start() at the top level of your app
`javascript
// 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.
Alternatively, library can be added to your project through CDN. Bundle is delivered through JSDelivr CDN.
Add the following script to your code:
`html`
Once installed, you can start using the library by calling Shake.start() at the top level of your app
`html`
Replace app-api-key` with the actual value you have in your app settings on dashboard.