UNPKG

scrabble-solver

Version:

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

9 lines (6 loc) 258 B
import { type Locale } from '@scrabble-solver/types'; import path from 'path'; import { OUTPUT_DIRECTORY } from '../constants'; export const getDictionaryFilepath = (locale: Locale): string => { return path.resolve(OUTPUT_DIRECTORY, `${locale}.txt`); };