Comparing version 5.0.3 to 5.0.4
@@ -11,14 +11,13 @@ #!/usr/bin/env node | ||
if (process.argv.includes('--help') || process.argv.includes('-h')) { | ||
print(` | ||
Usage | ||
$ nanoid [options] | ||
Options | ||
-s, --size Generated ID size | ||
-a, --alphabet Alphabet to use | ||
-h, --help Show this help | ||
Examples | ||
$ nanoid -s 15 | ||
S9sBF77U6sDB8Yg | ||
$ nanoid --size 10 --alphabet abc | ||
bcabababca`) | ||
print(`Usage | ||
$ nanoid [options] | ||
Options | ||
-s, --size Generated ID size | ||
-a, --alphabet Alphabet to use | ||
-h, --help Show this help | ||
Examples | ||
$ nanoid -s 15 | ||
S9sBF77U6sDB8Yg | ||
$ nanoid --size 10 --alphabet abc | ||
bcabababca`) | ||
process.exit() | ||
@@ -25,0 +24,0 @@ } |
{ | ||
"name": "nanoid", | ||
"version": "5.0.3", | ||
"description": "A tiny (116 bytes), secure URL-friendly unique string ID generator", | ||
"version": "5.0.4", | ||
"description": "A tiny (109 bytes), secure URL-friendly unique string ID generator", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "uuid", |
@@ -13,3 +13,3 @@ # Nano ID | ||
* **Small.** 130 bytes (minified and gzipped). No dependencies. | ||
* **Small.** 109 bytes (minified and brotlied). No dependencies. | ||
[Size Limit] controls the size. | ||
@@ -16,0 +16,0 @@ * **Safe.** It uses hardware random generator. Can be used in clusters. |
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
10876
265