
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
@brainfish-ai/web-widget
Advanced tools
This package provides a simple way to integrate a Brainfish in-app widget in your website or web application. It supports the standard style, and slide-in popup.
npm install @branfish-ai/web-widget
<script type="module">
import Brainfish from "https://cdn.jsdelivr.net/npm/@brainfish-ai/web-widget@latest/dist/web.js"
Brainfish.Widgets.init({ widgetKey: "your-key" });
</script>
<button class="brainfish-trigger-button" onClick="Brainfish.HelpWidget.open('brainfish-trigger-button')">Help</button>
<!-- The widget will emit events when it opens and closes. You can listen to these events by adding the following code to your website: -->
<!-- For close event: (onBrainfishHelpWidgetClosed) -->
<script>
window.addEventListener('onBrainfishHelpWidgetClosed', yourClosedHandlerFunction);
</script>
<!-- For opened event: (onBrainfishHelpWidgetOpened) -->
<script>
window.addEventListener('onBrainfishHelpWidgetOpened', yourOpenedHandlerFunction);
</script>
<!-- Make sure you remember to remove these event listeners when the widget is no longer needed. -->
<script>
window.removeEventListener('onBrainfishHelpWidgetClosed', yourClosedHandlerFunction);
window.removeEventListener('onBrainfishHelpWidgetOpened', yourOpenedHandlerFunction);
</script>
FAQs
Brainfish Widgets Manager
The npm package @brainfish-ai/web-widget receives a total of 1,820 weekly downloads. As such, @brainfish-ai/web-widget popularity was classified as popular.
We found that @brainfish-ai/web-widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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 shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.