A simple library to display tournament brackets (round-robin, single elimination, double elimination)
It contains all the logic needed to display tournaments.
How to use?
Import the library using jsDelivr:
Or using npm:
Now, you can use it with data generated using brackets-manager just like in the
To quickly test, you can use
Run the npm script named
dbto serve the static database file
/demo/db.jsonnpm run db
Use directly the
db.jsonfile generated by unit tests in the
brackets-managerprojectnpx json-server --watch path/to/brackets-manager/db.json
How to build?
Install all npm dependencies:
Build with webpack:
npm run build
This library has been created to be used by the Nantarena.
It has been inspired by: