gpw-redux
v1.1.0
Published
Modern refactor of [gpw](https://www.multicians.org/thvv/gpw.html)
Readme
GPW - Generate pronounceable passwords
This program uses statistics on the frequency of three-letter sequences in English to generate passwords. The statistics are generated from your dictionary by the program load_trigram.
See www.multicians.org/thvv/gpw.html for history and info.
— Tom Van Vleck
As far as possible, the history and structure of keeping the code in a single file has been respected while refactoring. The execution loop has been almost completely rewritten given the modern (2026) context. Types have been kept as JSDoc comments, to stay within a single file.
LICENSE.md and README.md have been extracted for modern paresability.
— Niels Roesen Abildgaard
Usage
Import the package from npm:
npm i gpw-reduxRun the function to get pronounceable word:
import { pronounceable } from "gpw-redux";
console.log("Here's a word:", pronounceable(22));History
- THVV 06/01/94 Coded
- THVV 04/14/96 converted to Java
- THVV 07/30/97 fixed for Netscape 4.0
- THVV 11/27/09 ported to Javascript
- NRA* 06/10/26 refactored to modern Javascript
