baselibrary
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,2 +11,9 @@ Date.prototype.yyyymmdd = function() { | ||
function randomString(length=10,charSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") { | ||
var text = ""; | ||
for (var i = 0; i < length; i++) | ||
text += charSet.charAt(Math.floor(Math.random() * charSet.length)); | ||
return text; | ||
} | ||
@@ -37,2 +44,2 @@ function canReadAndWrite(targetPath,create=false) { | ||
module.exports = {canReadAndWrite,softexit} | ||
module.exports = {canReadAndWrite,softexit,randomString} |
{ | ||
"name": "baselibrary", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "baselib.js", |
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
1559
35