adima
v0.0.5
Published
Amidakuji on the Web
Downloads
88
Readme
Adima
This is a fast, lightweight, no dependency, not so impressive, and completely useless library for Amidakuji ;-)
Basic usage
Use with installation.
Install by npm
npm install adima
and use it.
import Adima from 'adima';
const container = document.getElementById('some-container');
const adima = new Adima(container);
adima.init();
Use without installation
<script type="module" >
import Adima from 'https://unpkg.com/adima@latest/dist/index.js';
const container = document.getElementById('some-container');
const adima = new Adima(container);
adima.init();
</script>
Demo
Demo page is here
API
API is here
Lisence
MIT