@wordlist/english-eff
v1.0.1
Published
Electronic Frontier Foundation (EFF) dice word lists
Maintainers
Readme
@wordlist/english-eff
EFF word lists commonly used for creating secure, memorable passphrases. Based on the Electronic Frontier Foundation's Dice-Generated Passphrases.
They are carefully curated to:
- Avoid profanity and offensive words
- Use words that are easy to type and remember
- Minimize similar-sounding words that could cause confusion
- Provide strong cryptographic security when combined properly
Installation
npm install @wordlist/english-effWord Lists
All (All EFF Words)
All EFF word lists combined and deduplicated. 8,429 words total.
import { all } from "@wordlist/english-eff/all";
console.log(all.length); // 8429EFF Short Wordlist 1 (short1)
A short list of common short words. 1,296 total.
import { short1 } from "@wordlist/english-eff/short1";
console.log(short1.length); // 1296EFF Short Wordlist 2 (short2)
A short list of longer common words. 1,296 total.
import { short2 } from "@wordlist/english-eff/short2";
console.log(short2.length); // 1296EFF Long Wordlist (long)
A comparatively long list of mixed, mostly common words. 7,776 total.
import { long } from "@wordlist/english-eff/long";
console.log(long.length); // 7776Random Word Generator
import { all } from "@wordlist/english-eff/all";
import { RandomWords } from "@wordlist/random";
const random = new RandomWords(all);
const passphrase = await random.generate(6);
console.log(passphrase.join("-"));