
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
commonninja-react
Advanced tools
A small library for using Common Ninja's widgets in React projects.
A list of all available widgets could be found here: https://www.commoninja.com/widgets
Start by installing the library in your project:
// npm
npm i commonninja-react
// yarn
yarn add commonninja-react
Then, add the following code where you want the widget to appear in your React app:
import { CommonNinjaWidget } from 'commonninja-react';
const MyComponent = () => {
return (
<CommonNinjaWidget
widgetId=""
/>
);
}
Here's a list of available props for the <CommonNinjaWidget /> component:
widgetId - Common Ninja's widget ID.muteEvents - set to true if you don't want your widget to report engagement events for analytics (views, impressions, custom events, etc.).onLoad - a callback that will dispatch once the widget has been loaded completely.widgetProps - a string that will be passed to the viewer's url. Please note that this property isn't being used in most of apps.Having issues / questions using this library? Feel free to reach out at contact@commoninja.com.
FAQs
A small library for using Common Ninja's widgets in React projects.
The npm package commonninja-react receives a total of 43 weekly downloads. As such, commonninja-react popularity was classified as not popular.
We found that commonninja-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.