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.

18 lines (13 loc) 334 B
#!/usr/bin/env node /* eslint-disable */ const path = require('path'); const rootDirectory = path.resolve(__dirname, '..'); const { dictionaries } = require(rootDirectory); const updateDictionaries = async () => { try { await dictionaries.update(); } catch (error) { console.error(error); } }; updateDictionaries();