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.

13 lines (12 loc) 534 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDictionaryFilepath = void 0; const path_1 = __importDefault(require("path")); const constants_1 = require("../constants"); const getDictionaryFilepath = (locale) => { return path_1.default.resolve(constants_1.OUTPUT_DIRECTORY, `${locale}.txt`); }; exports.getDictionaryFilepath = getDictionaryFilepath;