Socket
Socket
Sign inDemoInstall

eff-dice-generator

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eff-dice-generator

A passphrase generator, powered by eff.org's dice words


Version published
Weekly downloads
2
Maintainers
1
Install size
408 kB
Created
Weekly downloads
 

Readme

Source

eff-dice-generator

Create strong passphrases using eff.org suggested wordlists.

Installation

npm install eff-dice-generator  

or

yarn add eff-dice-generator

Usage

const generatePassphrase = require("eff-dice-generator");

const passPhrase = generatePassphrase(5);

console.log(passPhrase);

generatePassphrase (no_of_dice, is_short)

  • no_of_dice: The no. of dice you want to use. Either 4 / 5
  • isshort: Use the short wordlist. (Applicable for only _4 dice roll)

Footnote: Since this package contains the entire wordlist, when importing, use code splitting to avoid large bundle sizes.

Keywords

FAQs

Last updated on 19 Apr 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc