Skip to the content

Taisen Brackets対戦

Knockout brackets as SVG, from a list of ties.

Taisen (対戦, たいせん) is Japanese for a matchup: two sides facing each other. About the name

Contents

Reference · Draw a bracket, a table or a road to the final

JudoCategorytype

A judo category: the sex and the weight class.

Import it

import type { JudoCategory } from "@johnmorrisdotca/taisen-brackets";

Definition

interface JudoCategory {
    sex: "men" | "women";
    weight: string;
}

Members

NameTypeDescription
sex"men" | "women"
weightstring

"-66" (up to and including 66 kg), "+100" (over 100 kg): see JUDO_WEIGHT_CLASSES.

Examples

import { judoCategoryLabel, type JudoCategory } from "@johnmorrisdotca/taisen-brackets";

const category: JudoCategory = { sex: "women", weight: "-48" };
console.log(judoCategoryLabel(category, "es"));
Mujeres -48 kg

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/taisen-brackets 0.20.0.