random-multiple-integers
This is a program for generating an array containing multiple integers with a specified range
Use examples
First, install this module in your project.
$ npm install random-multiple-integers
Import this module in your source code and call like below.
let RandomInteger = let ri = // ri.create(min, max, count)console; // -> [9, 4, 2, 6, 6, 2, 5, 1, 8, 10]console; // -> [-6, 0, -5, -2, -6, -4, -8, -3, -10, -9]console; // -> [1]
Testing
random-multiple-integers uses jest for testing. You can run test cases by installing dependencies then run "npm test" command.
$ npm install
$ npm test
License
This software is released under the MIT License, see LICENSE.txt.