seededshuffle
Advanced tools
Comparing version
20
index.js
@@ -6,3 +6,15 @@ /* | ||
*/ | ||
(function(Setup){ | ||
(function (root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define([], function () { | ||
return (root.SeededShuffle = factory()); | ||
}); | ||
} else if (typeof module === 'object' && module.exports) { | ||
module.exports = factory(); | ||
} else { | ||
// Browser globals | ||
root.SeededShuffle = factory(); | ||
} | ||
}(this, function () { | ||
var proto = { | ||
@@ -59,5 +71,3 @@ strSeed: null, | ||
}; | ||
Setup((function(){ | ||
return Object.create(proto); | ||
})()); | ||
})((typeof exports!=='undefined'?function(fn){module.exports=fn;}:function(fn){this['SeededShuffle']=fn;})); | ||
return Object.create(proto); | ||
})); |
{ | ||
"name": "seededshuffle", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/LouisT/SeededShuffle", | ||
"author": { | ||
"name": "Louis T.", | ||
"email": "louist@ltdev.im", | ||
"url": "http://ltdev.im/" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/LouisT/SeededShuffle.git" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "unlicensed", | ||
"url": "http://unlicense.org/" | ||
} | ||
], | ||
"keywords": [ | ||
"seed", | ||
"seeded", | ||
"shuffle", | ||
"unshuffle" | ||
], | ||
"description": "Shuffle and unshuffle an array by seed/key.", | ||
"engine": "node => 0.6", | ||
"main": "index.js" | ||
"name": "seededshuffle", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/LouisT/SeededShuffle", | ||
"author": { | ||
"name": "Louis T.", | ||
"email": "louist@ltdev.im", | ||
"url": "http://ltdev.im/" | ||
}, | ||
"scripts": { | ||
"test": "mocha test.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/LouisT/SeededShuffle.git" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "unlicense", | ||
"url": "http://unlicense.org/" | ||
} | ||
], | ||
"keywords": [ | ||
"shuffle", | ||
"seed", | ||
"unshuffle", | ||
"random", | ||
"array", | ||
"seeded" | ||
], | ||
"description": "Shuffle and unshuffle an array by seed/key.", | ||
"engine": "node => 0.6", | ||
"main": "index.js", | ||
"devDependencies": { | ||
"chai": "^2.3.0", | ||
"mocha": "^2.2.5" | ||
} | ||
} |
@@ -1,6 +0,17 @@ | ||
SeededShuffle (v0.1.1) | ||
[](https://travis-ci.org/LouisT/SeededShuffle) [](http://badge.fury.io/js/seededshuffle)  | ||
SeededShuffle | ||
====== | ||
Install: npm install seededshuffle | ||
### Install | ||
NPM | ||
``` | ||
npm install seededshuffle | ||
``` | ||
Bower | ||
``` | ||
bower install seededshuffle | ||
``` | ||
This project is [Unlicensed](http://unlicense.org/ "Title"). | ||
@@ -7,0 +18,0 @@ In other words, I don't care what you do with it. |
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
7674
2.32%0
-100%100
Infinity%107
11.46%2
Infinity%71
-15.48%