brackets-toornament-layer

A layer to convert Toornament data to brackets-viewer data

Usage no npm install needed!

<script type="module">
  import bracketsToornamentLayer from 'https://cdn.skypack.dev/brackets-toornament-layer';
</script>

README

brackets-toornament-layer

A layer to convert Toornament data to brackets-viewer.js data.

You can use this to view Toornament stages with your own personalized viewer without embedding Toornament's viewer.

npm

How to test

First, do npm start. This will generate the database file db.json.

To quickly test the results, you can use json-server.

npx json-server db.json

Then, open the /demo/index.html file from the brackets-viewer.js project.

And tada! You are viewing Toornament data with your own viewer! 🎉

Credits

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