Comparing version 0.0.10 to 0.1.0
@@ -55,1 +55,5 @@ module.exports.getCharCountsByKey = function(arr) { | ||
}; | ||
module.exports.shuffle = function(arr) { | ||
return arr.slice().sort(() => Math.random() - 0.5); | ||
}; |
{ | ||
"name": "pedash", | ||
"version": "0.0.10", | ||
"version": "0.1.0", | ||
"description": "A lodash-like javascript helper -- for dummies", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -64,1 +64,7 @@ ## Pedash 🌶 | ||
``` | ||
#### shuffle(arr: any[]) | ||
``` | ||
// Example | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2758
52
70