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.
arrayswpeeper-gui
Advanced tools
A module for creating an GUI based on the arraysweeper module. (https://www.npmjs.com/package/arraysweeper)[https://www.npmjs.com/package/arraysweeper] (https://github.com/arschmitz/arraysweeper)[https://github.com/arschmitz/arraysweeper]
$.arraysweeper(element, height, width, count)
A module for creating an GUI based on the arraysweeper module. (https://www.npmjs.com/package/arraysweeper)[https://www.npmjs.com/package/arraysweeper]
Parameters
element: jQuery | selector | node
, The element to create the game on
height: number
, Height of the board to create.
width: number
, Width of the board to create.
count: number
, The number of mines to place on the board.
jQuery Plugin Method for creating an arraysweeper-gui game $.fn.arraysweeper
Parameters
height: number
, Height of the board to create.
width: number
, Width of the board to create.
count: number
, The number of mines to place on the board.
refrsh the board this will reset the game and get new random mines
Parameters
true: boolean
, getValues - If values should be obtained from the settings bar
return an object of the values from the settings bar
Initalize the toolbars
Set the initial values for the inputs
Parameters
height: number
, Height of the board to create.
width: number
, Width of the board to create.
count: number
, The number of mines to place on the board.
Render the game board based on its current state
FAQs
A GUI implementation of the arraysweeper module
The npm package arrayswpeeper-gui receives a total of 1 weekly downloads. As such, arrayswpeeper-gui popularity was classified as not popular.
We found that arrayswpeeper-gui 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
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.