Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Node.js Diceware module

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

A simple diceware module

diceware generates passphrases using the diceware method.

It's worth noting that it's not recommended to use a computer to generate a Diceware phrase. If you want to generate passphrases in node.js, check out https://github.com/shimaore/password instead.

    npm install diceware
    diceware = require('diceware');
    console.log(diceware());   // by default generates a 5 word phrase
    console.log(diceware(10)); // but number of words can optionally be specified
Something went wrong with that request. Please try again.