
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
react-life-game
Advanced tools
A React component that renders "Conway's Game of Life" 👾 .
You are a great God 👼 in this life game world, so you can control the life and death of cells by clicking on them.
$ npm install react-life-game
$ yarn add react-life-game
import { LifeGameField } from 'react-life-game';
function App() {
return (
<LifeGameField
option={
{
/* option here */
}
}
/>
);
}
option | type | description | default |
---|---|---|---|
initialAliveRatio | number | Ratio of living cells in the initial state ([0,1]) | 0.12 |
interval | number | Time per each generation ([ms]) | 1000 |
aliveColor | string | Color of living cells ( can be any color that "css" can accept. i.e. blue , #1e3a8a , ... ) | #1e3a8a |
deadColor | string | Color of dead cells ( can be any color that "css" can accept. i.e. blue , #1e3a8a , ... ) | #0f172b |
cellSize | number | Size of cell ([px]) | 12 |
width | number | Width of the field of game of life | window.innerWidth |
height | numer | Height of the field of game of life | window.innerHeight |
FAQs
A React component that renders "Conway's Game of Life" 👾 .
We found that react-life-game 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.
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.