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 · Ready-made formats for each league

LEAGUESconstant

The leagues that have a format here.

Import it

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

Also exported from: @johnmorrisdotca/taisen-brackets

Definition

const LEAGUES: readonly League[] = Object.freeze(Object.keys(ERAS) as League[])

Examples

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

console.log(LEAGUES);
[ 'nhl', 'nba', 'mlb', 'nfl', 'cfl', 'mls', 'worldcup' ]

What it prints (run when this page was built)

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