This is a simple Scrabble cheating tool designed for Andy's scrabble-bot (but can be used for a normal Scrabble game, too).
Of course you shouldn't be using this and I'm not responsible if people call you a cheater.
ℹ️ This is a pure ESM module.
yarn
yarn dist
dist/cli.js
Usage: scrabble-cheater [options]
A simple Scrabble cheating tool.
Options:
-V, --version output the version number
-w, --wordlist <file> Specify a wordlist file (mandatory)
-l, --letters <letters> Specify letters
-q, --quiet Quiet mode: displays only the letters
-m, --maximum <number> Specify a maximum of results
-s, --single Single word mode: displays each word and copies it to the clipboard
-h, --help output usage information
import {ScrabbleCheater} from 'scrabble-cheater';
new ScrabbleCheater('./my-wordlist.txt', 'l e t t e r s').start().then(matches => {
// [ 'match1', 'match2', ... ]
});