
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
apply scoring logic to ten-pin bowling results. handles both incomplete and complete games.
npm install bowling
npm test
var bowl = require('bowling')
var aCompleteGame = ['81','9-','9/','71','9-','X','90','70','x','7-'],
result
result = bowl(aCompleteGame)
console.log(result)
/*
[
{outcome: '81', cumulative: 9, score: 9},
{outcome: '9-', cumulative: 18, score: 9},
{outcome: '9/', cumulative: 35, score: 17},
{outcome: '71', cumulative: 43, score: 8},
{outcome: '9-', cumulative: 52, score: 9},
{outcome: 'X', cumulative: 71, score: 19},
{outcome: '9-', cumulative: 80, score: 9},
{outcome: '7-', cumulative: 87, score: 7},
{outcome: 'X', cumulative: 104, score: 17},
{outcome: '7-', cumulative: 111, score: 7}
]
*/
example.js: a script that shows how a game could be scored progressively

also: a live-updating terminal scoreboard
0 or -x or Xf or FFAQs
ten-pin bowling scorekeeping module
The npm package bowling receives a total of 6 weekly downloads. As such, bowling popularity was classified as not popular.
We found that bowling 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 shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.