Skip to the content

Kumimoji組み文字

Build crosswords from seeded English or Japanese tile bags, alone or at a shared table.

Kumimoji means assembled characters in Japanese. About the name

Contents

Reference · Rules, tiles and records

tidyNamefunction

A name as kept: trimmed, one line, and no longer than a line holds.

Import it

import { tidyName } from "@johnmorrisdotca/kumimoji";

Definition

function tidyName(name: string): string

Parameters

NameTypeDescription
namestring

The local player name to tidy.

Returns

string

A name as kept: trimmed, one line, and no longer than a line holds.

Examples

import { tidyName } from "@johnmorrisdotca/kumimoji";

console.log(tidyName("  Seat  1  "));
Seat 1

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kumimoji 1.6.0.