1.2.0 • Published 8 years ago
randomgen v1.2.0
Randomgen
Installation:
npm install randomgen
Usage:
var random = require('randomgen');
// get a random value in the range [min, max]
random.IncludeMax(0, 10) // 10 may be generated
// get a random value in the range [min, max]
random.ExcludeMax(0, 10) // High value 10 is excluded