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

Command line

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

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

Exports

NameKindWhat it is
cliLanguagefunctionThe language the command line speaks: --lang, or the environment's, or the system's; Japanese for ja…, English for anything else.
CliResulttypeWhat the command line came to.
CliSurroundingstypeWhat the command line is run in.
CliTiertypeWhich words of a list: the easy answers, every answer, or every word that may be guessed.
CliWordstypeThe lists the command line reads: the alphabet languages and Japanese kana.
runClifunctionRun the command line.

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