get-short-id
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "get-short-id", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Random ID generator function with options to provide prefix and character set. Uses UUID v4 as random string source.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,4 @@ `npm i get-short-id` | ||
// getId('prefix', 'character-set') | ||
for(let i = 0; i < 10; i++) { | ||
@@ -59,3 +61,3 @@ console.log(getId()); | ||
## Characters set | ||
## Characters set (optional) | ||
@@ -66,3 +68,3 @@ Default set of characters used to encode random id is this: | ||
Yet you can provide your own as needed. | ||
Yet you can provide your own as needed. You must provide at least 2 characters. | ||
@@ -69,0 +71,0 @@ ```javascript |
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
5662
134