1.0.2 • Published 7 years ago

array-generator v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Array generator

Generate an unsorted array with the given properties

Installing

$ npm install array-generator --save

How to use

arrayGenerator(size, maxValue, minValue)

/* values range is [minValue, maxValue) */

How to use

const arrayGenerator = require('array-generator)

arrayGenerator(5, 1, 6)

/* return random unsorted array like [2, 3, 1, 5, 4]  */

Running the tests

$ npm run test

License

This project is licensed under the MIT License - see the LICENSE.md file for details