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

judoClockfunction

Seconds as m:ss.

Import it

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

Definition

function judoClock(seconds: number): string

Parameters

NameTypeDescription
secondsnumber

The seconds.

Returns

string

The clock text.

Examples

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

console.log(judoClock(134), judoClock(5));
2:14 0:05

What it prints (run when this page was built)

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