Comparing version 1.0.1 to 1.0.2
@@ -51,2 +51,6 @@ var os = require('os') | ||
clerobee.generateNumericString = function ( length ) { | ||
return (Math.random() + '').split('.')[1].substr(0, length) | ||
} | ||
clerobee.generateAbcString = function ( length, prefix ) { | ||
@@ -53,0 +57,0 @@ let str = prefix || '' |
{ | ||
"name": "clerobee", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A featureful dependency-free UID generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -34,2 +34,6 @@ var crypto = require('webcrypto') | ||
console.log('>>>>>', cerobee.generate(16)) | ||
console.log('>>>>>', cerobee.generate(16)) | ||
console.log('>>>>>', cerobee.generate(16)) | ||
console.log('>>>>>', cerobee.generate(16)) | ||
console.log('>>>>>', cerobee.generate(16)) | ||
cerobee.generate(16).should.to.have.length(16) | ||
@@ -36,0 +40,0 @@ |
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
278766
1850