shuffle-array : Randomize the order of the elements in a given array.. You can installing shuffle-array npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install shuffle-array $ sudo npm install -g shuffle-array
If want to update the shuffle-array package execute the command as below,
$ sudo npm update shuffle-array
Update package globally,
$ npm install -g shuffle-array
$ sudo git clone https://github.com/rektide/shuffle-array.git
$ sudo npm install -g ./shuffle-array
shuffle-array@1.0.1 /usr/lib/node_modules/shuffle-array
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall shuffle-array
| Package Name | shuffle-array |
| Version | 1.0.1 |
| Description | Randomize the order of the elements in a given array. |
| Released Date | 2017-02-16T11:40:36.406Z |
| Published by | pazguille |
| How to Learn | https://www.npmjs.com/package/shuffle-array/tutorial |