jotils
jotils is a JavaScript utility library.
Installation
Using npm to install jotils.
$ npm i -g npm
$ npm i --save jotils
Usage Examples
import {shuffleArray, randomValueFromArray} from 'jotils';
const array = [1,2,3,4,5,6,7,8,9];
randomValueFromArray(array);
shuffleArray(array);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.