
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@softnoesis/shakebug-js
Advanced tools
Shakebug JS is a powerful bug reporting and feedback collection library for React and Next.js applications. It allows users to capture screenshots, record screens, and submit detailed bug reports with ease.
Cmd+Alt+K or Ctrl+Alt+K) for power users.npm install @softnoesis/shakebug-js
# or
yarn add @softnoesis/shakebug-js
Ensure you have the following peer dependencies installed in your project:
npm install react react-dom
Import the global styles in your main entry file (e.g., App.tsx or main.tsx):
import '@softnoesis/shakebug-js/dist/index.css';
Place the Shakebug component at the root of your application:
import { Shakebug } from '@softnoesis/shakebug-js';
function App() {
return (
<div>
<Shakebug
appKey="YOUR_APP_KEY"
bundleId="YOUR_BUNDLE_ID"
showFloatingButton={true}
/>
{/* Your app content */}
</div>
);
}
ShakebugProps)The <Shakebug /> component accepts the following props:
| Prop | Type | Default | Description |
|---|---|---|---|
appKey | string | - | Required. Your Shakebug application key. |
bundleId | string | - | Required. Your application bundle ID/Package name. |
showFloatingButton | boolean | true | Whether to show the floating trigger button. |
ShakebugThemeColor | string | - | Primary color for the SDK (e.g., #ff0000). |
screenTitle | string | 'Shakebug' | Title displayed in the feedback modal. |
changeSDKScreenTitle | string[] | - | Custom titles for different steps in the modal. |
allowToReportBugByShakingMobile | boolean | true | Enable/Disable shake detection on mobile. |
allowToReportBugByScreenCapture | boolean | false | Enable/Disable report trigger by native screenshot. |
allowCrashReport | boolean | true | Automatically report unhandled errors and crashes. |
appVersion | string | '1.0.0' | Your application version. |
ShakebugLanguage | string | - | Force a specific language (e.g., 'en', 'es'). |
onSend | function | - | Callback triggered after a report is successfully sent. |
<Shakebug
appKey="your-key"
bundleId="your.bundle.id"
ShakebugThemeColor="#4f46e5"
screenTitle="Report an Issue"
allowCrashReport={true}
onSend={(data) => console.log('Report sent:', data)}
/>
You can import and use these methods anywhere in your application after the <Shakebug /> component is mounted.
setcustomUser(userData)Identifies the user for all subsequent reports in the session.
import { setcustomUser } from '@softnoesis/shakebug-js';
setcustomUser({
id: "user_123",
name: "John Doe",
email: "john@example.com",
country: "USA"
});
addEventKey(name, value)Logs a custom event that will be attached to the next bug report.
import { addEventKey } from '@softnoesis/shakebug-js';
addEventKey("User Action", "Click Checkout");
For any issues or feature requests, visit shakebug.com or reach out to support.
ISC © Softnoesis
FAQs
Shakebug JS - bug reporting and screenshot capture library
We found that @softnoesis/shakebug-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.