Skip to the content

Kotoba言葉

Load only the word lists you need, mark repeated letters correctly and play a daily or seeded word game.

Kotoba is the Japanese word for words. About the name

Contents

Reference

Load dictionaries

import { … } from "@johnmorrisdotca/kotoba/load";

461.2 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
LoadedWordListtypeA list read into words: the easy answers inside the answers inside the words that may be guessed.
loadWordListfunctionOne list of one size read into words, or null for a size the language has no list of.
WORD_LIST_NAMESconstantThe lists, in the order they are named.
WORD_LIST_SIZESconstantThe sizes each list comes in: four to six letters, or three to five kana.
WordListNametypeThe languages that have a list to load: English, French, German, and Japanese kana.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kotoba 1.2.0.