
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@typinghare/board-game-clock-core
Advanced tools
import { Game, Player, TimeControl } from '@typinghare/board-game-clock-core'
const ROLE_A = 'A'
const ROLE_B = 'B'
// Create a game with two players (A & B), applying default time control and default player
const game = new Game([ROLE_A, ROLE_B], new TimeControl(), Player)
// Start the game
game.start()
// Get players
const playerA = game.getPlayer(ROLE_A)
const playerB = game.getPlayer(ROLE_B)
// Player A presses, player B's timer runs
playerA.press()
// Set onStop callback function
game.onStop = function(stopper, timeUpRole) {
console.log(`Game stops. Player ${stopper} stops the game.`)
if (timeUpRole) {
console.log(`Player ${timeUpRole} has run out of time.`)
}
}
// Stop the game
game.stop()
import { Player, TimeControl, TwoPlayerGame } from '@typinghare/board-game-clock-core'
// Create a two-player game
const game = new TwoPlayerGame(new TimeControl(), Player)
FAQs
Board game clock core.
We found that @typinghare/board-game-clock-core 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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.