Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adds npm install diceware to README

  • Loading branch information...
commit a4047c654dfa2b7e04e7e84fff53c8d07b26169d 1 parent 6739bfc
Justin Hurley authored

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. +7 1 README.md
8 README.md
Source Rendered
@@ -4,6 +4,12 @@
4 4
5 5 It's worth noting that [it's not recommended](http://world.std.com/~reinhold/dicewarefaq.html#electronic) 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](https://github.com/shimaore/password) instead.
6 6
  7 +```
  8 + npm install diceware
  9 +```
  10 +
  11 +```
7 12 diceware = require('diceware');
8 13 console.log(diceware()); // by default generates a 5 word phrase
9   - console.log(diceware(10)); // but number of words can optionally be specified
  14 + console.log(diceware(10)); // but number of words can optionally be specified
  15 +```

0 comments on commit a4047c6

Please sign in to comment.
Something went wrong with that request. Please try again.