
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@alvarocastro/roll-cli
Advanced tools
Roll your dices directly from the command line!
It supports the dice notation in the form of AdX, like 1d6 and even simple transforms like 2d10+5, but it also supports more complex rolls like 1d8-1d6/2.
npm install -g @alvarocastro/roll-cli
$ roll 2d6
7
$ roll 1d6+1d10
12
It can also display detailed information about rolls being made:
$ roll -d 2d6+1d10+3
Rolls:
- 2d6: 2, 5
- 1d10: 8
Result: 18
A dice notation string. It supports % for percentile dices (1d% is the same as 1d100).
It also supports basic math: +, -, * and /.
Used to output detailed information about the roll. Useful to check doubles, critical hits (or failures)
Displays the current installed version of this utility.
Contributions are always welcome! Please run npm test beforehand to ensure everything is ok.
If you use this package please consider starring it :)
FAQs
Roll your 2d6 from the command line!
We found that @alvarocastro/roll-cli 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.