UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

10 lines (6 loc) 300 B
import { Locale } from '@scrabble-solver/types'; import { getTxtWordList } from '../lib'; const FILE_URL = 'https://raw.githubusercontent.com/hippler/german-wordlist/master/words.txt'; export const getWordList = async (): Promise<string[]> => { return getTxtWordList(FILE_URL, Locale.DE_DE); };