3.0.1 • Published 10 years ago

diceware-generator v3.0.1

Weekly downloads
21
License
MIT
Repository
github
Last release
10 years ago

diceware-generator

npm version npm downloads Build Status Coverage Status Code Climate dependency Status devDependency Status

A diceware generator

Installation

# Install core package
npm i -S diceware-generator
# Install some diceware wordlist
npm i -S diceware-wordlist-en
# or
npm i -S diceware-wordlist-jp
# or
npm i -S diceware-wordlist-sp
# or
npm i -S diceware-wordlist-swe
# or
npm i -S diceware-wordlist-en-eff

Try on Tonic

Usage

const dwGen = require('diceware-generator');
const enEFF = require('diceware-wordlist-en-eff');

const options = {
  language: enEFF,
  wordcount: 6, // Default 6
  format: 'string', // Default 'string'. One of [array, string]
}
const pass = dwGen(options);
console.log(pass);
// "belle visit wag tung podge phase"
3.0.1

10 years ago

3.0.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago