From the official site:
Diceware™ is a method for picking passphrases that uses dice to select words at random from a special list called the Diceware Word List.
npm i onf-diceware
Command | Description
------------ | -------------
generate | Generate a passphrase using the Diceware method.
Option | Description
------------ | -------------
-n=NUM | The length of the passphrase (defaults to six words).
-h, --help | Display help.
Benjamin Toll