Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@react-sigma/core
Advanced tools
A set of react components to display graphs with Sigma.js.
Visit our website for docs and examples : https://sim51.github.io/react-sigma/
npm install @react-sigma/core
Import the React Sigma style file in your application.
Example : import "@react-sigma/core/lib/react-sigma.min.css"
Create the following components into your app and check it displays correctly:
import Graph from "graphology";
import { SigmaContainer, useLoadGraph } from "@react-sigma/core";
import "@react-sigma/core/lib/react-sigma.min.css";
export const LoadGraph = () => {
const graph = new Graph();
graph.addNode("first", { size: 15, label: "My first node", color: "#FA4F40" });
useLoadGraph(graph);
};
export const DisplayGraph = () => {
return (
<SigmaContainer style={{ height: "500px", width: "500px" }}>
<LoadGraph />
</SigmaContainer>
);
};
Version 3.0.3
useRegisterEvents
hook.FAQs
React Sigma
The npm package @react-sigma/core receives a total of 5,963 weekly downloads. As such, @react-sigma/core popularity was classified as popular.
We found that @react-sigma/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.