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

WordListNametype

The languages that have a list to load: English, French, German, and Japanese kana.

Import it

import type { WordListName } from "@johnmorrisdotca/kotoba/load";

Definition

type WordListName = "en" | "fr" | "de" | "ja";

Examples

import type { WordListName } from "@johnmorrisdotca/kotoba/load";

const value: WordListName = "ja";
console.log(value);
ja

What it prints (run when this page was built)

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