Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

diceware-generator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diceware-generator

A diceware generator

latest
Source
npmnpm
Version
3.0.1
Version published
Maintainers
1
Created
Source

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"

Keywords

diceware

FAQs

Package last updated on 15 Sep 2016

Did you know?

Socket

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.

Install

Related posts