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 · Marking, scores and game rules

DayKeytype

A day's name: four digits of year, two of month and two of day, such as 2026-10-01.

Import it

import type { DayKey } from "@johnmorrisdotca/kotoba";

Definition

type DayKey = string;

Examples

import type { DayKey } from "@johnmorrisdotca/kotoba";

const value: DayKey = "2026-10-12";
console.log(value);
2026-10-12

What it prints (run when this page was built)

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