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) • 319 B
text/typescript
import { Locale } from '@scrabble-solver/types';
import { getTxtWordList } from '../lib';
const FILE_URL = 'https://raw.githubusercontent.com/MansourM/persian-to-persian-dictionary/main/moein/words.txt';
export const getWordList = async (): Promise<string[]> => {
return getTxtWordList(FILE_URL, Locale.FA_IR);
};