random-string-simple
Advanced tools
Comparing version 0.0.1 to 0.0.2
module.exports = function(length, symbols) { | ||
length = length || 7; | ||
symbols = symbols || 'abcdefghijklmnopqrstuvwxyz'; | ||
symbols = | ||
symbols || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; | ||
@@ -5,0 +6,0 @@ var string = ''; |
{ | ||
"name": "random-string-simple", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Generate a random string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,3 +21,3 @@ # Random string simple | ||
// Simple using | ||
randomString(); // eyuzolu | ||
randomString(); // Sg9xFOo | ||
@@ -24,0 +24,0 @@ // With params - length and symbols |
33151
8
19