An open API service indexing awesome lists of open source software.

https://github.com/puse/spb14-die

Loaded die simulator
https://github.com/puse/spb14-die

Last synced: 11 months ago
JSON representation

Loaded die simulator

Awesome Lists containing this project

README

          

# Die

Loaded die simulator

### Example

~~~js
const Die = require('spb14-die');

let config = new Map([
['Exo' , 30],
['Hopar', 60],
['Venus', 10]
]);

let coin = new Die(config);

die.get().then(console.log); // more likely 'Hopar'
~~~

## Install

~~~sh
npm install spb14-die
~~~

### License

MIT License