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

CliTiertype

Which words of a list: the easy answers, every answer, or every word that may be guessed.

Import it

import type { CliTier } from "@johnmorrisdotca/kotoba/cli";

Definition

type CliTier = "easy" | "answers" | "allowed";

Examples

import type { CliTier } from "@johnmorrisdotca/kotoba/cli";

const value: CliTier = "answers";
console.log(value);
answers

What it prints (run when this page was built)

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