knuth-shuffle : The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js. You can installing knuth-shuffle 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 knuth-shuffle $ sudo npm install -g knuth-shuffle
If want to update the knuth-shuffle package execute the command as below,
$ sudo npm update knuth-shuffle
Update package globally,
$ npm install -g knuth-shuffle
$ sudo git clone https://github.com/rektide/knuth-shuffle.git
$ sudo npm install -g ./knuth-shuffle
knuth-shuffle@1.0.8 /usr/lib/node_modules/knuth-shuffle
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall knuth-shuffle
Package Name | knuth-shuffle |
Version | 1.0.8 |
Description | The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js |
Released Date | 2017-10-29T04:12:30.880Z |
Published by | coolaj86 |
How to Learn | https://www.npmjs.com/package/knuth-shuffle/tutorial |