shuffle-seed
![filesize](https://camo.githubusercontent.com/7fff6ec039d3086938cb9172db25aa47d5913889aaf0a308e7bf03661be6fc5c/68747470733a2f2f62616467652d73697a652e6865726f6b756170702e636f6d2f77656263616574616e6f2f73687566666c652d736565642f6d61737465722f73687566666c652d736565642e6d696e2e6a732e7376673f7374796c653d666c61742d737175617265)
Nodejs module to Shuffle an Array with seed
Array Shuffle Seed based on module davidbau/seedrandom
Installation
npm install shuffle-seed
Usage :
var shuffleSeed = require('shuffle-seed');
var a = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];
var resp = shuffleSeed.shuffle(a,"Kappa");
// result always will be [f','y','p','i','r','v','a','x','q','e','c','b','n','j','t','z','o','l','w','m','k','g','h','u','d','s']
shuffleSeed.unshuffle(resp,"Kappa");
// result ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
The MIT License