本文へ移動

Kotoba言葉

必要な単語一覧だけを読み込み、重複する文字を正しく判定し、日替わりやシード付きの単語ゲームを遊べます。

「Kotoba」は「言葉」です。 名前について(英語)

目次

リファレンス

コマンドライン

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

最小化と gzip 圧縮をしたサイズは 469.1 kB(読み込むものをすべて含み、esbuild で計測)

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
cliLanguage関数The language the command line speaks: --lang, or the environment's, or the system's; Japanese for ja…, English for anything else.
CliResult型What the command line came to.
CliSurroundings型What the command line is run in.
CliTier型Which words of a list: the easy answers, every answer, or every word that may be guessed.
CliWords型The lists the command line reads: the alphabet languages and Japanese kana.
runCli関数Run the command line.

ソースを見るGitHub で編集@johnmorrisdotca/kotoba 1.2.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。