omikuji

1.0.1 • Public • Published

Omikuji

Description

You can make instance that gets random value from Array.

How to Use

Use like this:

var Omikuji = require('omikuji');

const items = ['大吉', '中吉', '末吉', '吉', '凶'];
const omikuji = new Omikuji(items);
console.log(omikuji.get());

methods

get()

get method is getting random value from instance.

Readme

Keywords

Package Sidebar

Install

npm i omikuji

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

1.95 kB

Total Files

3

Last publish

Collaborators

  • diwao