
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@dice-roller/cli
Advanced tools
Command Line Interface which allows rolling dice.
It is built upon this RPG dice roller.
Install the script globally:
npm install -g @dice-roller/cli
roller <notation..> [options]
Commands:
roller roll <notation..> roll the dice [default]
roller play play an interactive CLI dice game
Positionals:
notation space separated list of notation to roll [string]
Options:
-V, --version Show version number [boolean]
--help Show help [boolean]
-s, --separator String to separate dice rolls [string] [default: "; "]
-e, --engine The RNG engine to use [string]
--seed The RNG engine seed [number]
-f, --format The output format [string] [default: "string"]
--result-only Only return the roll result, without the notation or dice
rolled [boolean] [default: false]
Examples:
roller 4d6 roll a 6 sided die 4 times
roller 2d10+7 roll a 10 sided die 2 times and add 7
roller play start the interactive CLI dice game
For more information visit https://dice-roller.github.io/documentation
roller play
play an interactive CLI dice game
Options:
-V, --version Show version number [boolean]
--help Show help [boolean]
--players The name of a player [array]
--count The number of players [number]
For more information visit https://dice-roller.github.io/documentation
Examples:
# Roll a 6 sided die 4 times
roller 4d6
# Roll a series of dice
roller 2d10 7d% 5dF
# Notation with spaces must be surrounded with quotes
roller "4d6 # roll description"
# Use the MersenneTwister19937 engine (`seed` is not required)
roller 4d6 -e=MersenneTwister19937 --seed=415
# Return just the result rolled
roller 2d20 --result-only
# Output the result in base64 encoding
roller 6d8*4 -f=BASE_64
# Start the interactive dice game
roller play
# Start the game with 4 players
roller play --count=4
# Start the game with 2 players called Barbara and Ian
roller play --players=Barbara Ian
# Start the game with two players, but only name the first one
roller play --count=2 --players=Susan
Read about the notation in the documentation
FAQs
A command line interface for rolling dice.
We found that @dice-roller/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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.