Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 342 Bytes

File metadata and controls

25 lines (20 loc) · 342 Bytes

Random Checker

Usage

const RandomChecker = require('random-checker');
let rc = new RandomChecker();
rc.check('Hello').then(result => {
    if (result > INDEX) {

    } else {

    }
});

Getting INDEX

node average.js
npm run demo

Notice

RandExp module is only for demo.js, so you can remove it.