jqb-random

randomization library

jqb-random

Randomization library.

var random = require('jqb-random');

If you want to run tests on this module you can prompt:

npm install && grunt
// random integer form 0 to 10
random.integer(10);

// random integer from 10 to 20
random.integer(10, 20);
// random array item
random.item(['apple','google','microsoft']);

// random letter from a string
random.item('a string');