All Projects → Drarig29 → brackets-viewer.js

Drarig29 / brackets-viewer.js

Licence: MIT License
A simple library to display tournament brackets (round-robin, single elimination, double elimination).

Programming Languages

typescript
32286 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to brackets-viewer.js

CKBracketView
Tournament bracket view for iOS. Developed in swift.
Stars: ✭ 38 (-26.92%)
Mutual labels:  tournament, elimination, tournament-bracket
lazy ncaa elm
An Elm app to randomly generate tournament bracket winners
Stars: ✭ 14 (-73.08%)
Mutual labels:  tournament, bracket
cod-api
A thin Call of Duty API wrapper written in TypeScript
Stars: ✭ 40 (-23.08%)
Mutual labels:  gaming, esports
Arcadia-Auction
CSGO League App | Featured on Google DevLibrary
Stars: ✭ 17 (-67.31%)
Mutual labels:  gaming, tournament
scrapeOP
A python package for scraping oddsportal.com
Stars: ✭ 99 (+90.38%)
Mutual labels:  sports, esports
tournament-generator
A set of classes used to create multiple kinds of tournament brackets in PHP
Stars: ✭ 38 (-26.92%)
Mutual labels:  tournament, bracket
TournamentBrackets
Android project written in Java to display Tournaments brackets with animation
Stars: ✭ 39 (-25%)
Mutual labels:  bracket, tournament-bracket
ucollage
An extensible command line image viewer inspired by vim
Stars: ✭ 161 (+209.62%)
Mutual labels:  viewer
proSeed
ProSeed modification for Farming Simulator 2022
Stars: ✭ 63 (+21.15%)
Mutual labels:  seeding
npmfs
javascript package inspector
Stars: ✭ 90 (+73.08%)
Mutual labels:  viewer
smashgg.js
Node.JS SDK for the Smash.gg public API.
Stars: ✭ 31 (-40.38%)
Mutual labels:  tournament
farctool2
Texture viewer for LittleBigPlanet 1/2/3
Stars: ✭ 19 (-63.46%)
Mutual labels:  viewer
plow
👨‍🌾 Postgres migrations and seeding made easy
Stars: ✭ 13 (-75%)
Mutual labels:  seeding
InViewer
A Three.js-based viewer for visualizing OGC IndoorGML data
Stars: ✭ 18 (-65.38%)
Mutual labels:  viewer
retrosheet
Project to parse retrosheet baseball data in python
Stars: ✭ 19 (-63.46%)
Mutual labels:  sports
Cloudbank
An alternative Computer vision and AI training platform built to play any game on Steam (Linux).
Stars: ✭ 18 (-65.38%)
Mutual labels:  gaming
go-evepraisal
the code that powers evepraisal.com
Stars: ✭ 61 (+17.31%)
Mutual labels:  gaming
dcli
Command line utilities for Destiny 2
Stars: ✭ 49 (-5.77%)
Mutual labels:  gaming
Apple-Silicon-Guide
Apple Silicon Guide. Learn all about the M1, M1 Pro, M1 Max, and M1 Ultra chips.
Stars: ✭ 240 (+361.54%)
Mutual labels:  gaming
batmass
Mass spectrometry data visualization
Stars: ✭ 32 (-38.46%)
Mutual labels:  viewer

brackets-viewer.js

A simple library to display tournament brackets (round-robin, single elimination, double elimination)

It contains all the logic needed to display tournaments.

  • Supports translation (i18next)
  • Full vanilla JS (no framework)
  • A full working example of creating and displaying brackets (see ./demo/with-ui.html)
  • Themes supported, with CSS variables (see ./demo/themes)

npm Downloads jsDelivr Package Quality

Screenshot

How to use?

Import the library from npm using jsDelivr (you can replace @latest to lock a specific version):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/brackets-viewer@latest/dist/brackets-viewer.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/brackets-viewer@latest/dist/brackets-viewer.min.js"></script>

Or from GitHub with (you can replace @master by any branch name, tag name or commit id):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Drarig29/brackets-viewer.js@master/dist/brackets-viewer.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/Drarig29/brackets-viewer.js@master/dist/brackets-viewer.min.js"></script>

Now, you can use it with data generated using brackets-manager or with crafted data following the brackets-model.

Demos

To quickly test, you can also try the demos by visiting ./demo/index.html.

To use json-server, you can:

  • Run the npm script named db to serve the static database file ./demo/db.json

    npm run db
  • Or use directly the db.json file generated by unit tests in the brackets-manager project

    npx json-server --watch path/to/brackets-manager/db.json

Credits

This library has been created to be used by the Nantarena.

It has been inspired by:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].