@bemoje/uuid
v0.0.1
Published
Generate a UUID string.
Readme
@bemoje/uuid
Generate a UUID string.
Warning: Private package. Do not expect it to work. Use at own risk.
Installation
# install
npm install @bemoje/uuid -g
# uninstall
npm uninstall @bemoje/uuid -g
# help
uuid --helpHelp
Usage: uuid [bits] [options]
Version: 0.0.1
Description:
Generate a UUID string (Universally Unique Identifier).
This does not follow the ISO standard exactly, but almost. It's just a random string with the first 32 bits being an encoded timestamp and the remaining bits being random bits.
https://en.wikipedia.org/wiki/Universally_unique_identifier
Commands:
u |util Utilities (presets, etc.)
Arguments:
[bits] The number of bits to generate. Minimum is 32
as this only covers the timestamp-part of the UUID.
(default: The standard for UUIDs is 128 bits.)
Options:
-V, --version output the version number
-e, -encoding <encoding> The encoding to use for the output string.
(choices: "base64", "base64url", "hex", "binary",
"utf8", "utf16le", "latin1", "ascii", "binary",
"ucs2", default: "hex")
Global Options:
-D, --debug Output debugging information.
-C, --noColor Disable color in terminal output.
-E, --noStderr Mute all output to stderr.
-O, --noStdout Mute all output to stdout.
Subcommands:
Subcommand Usage Summary
uuid [-e] [bits] Generate a UUID string (Universally Unique Identifier)
uuid util Utilities (presets, etc.)
uuid util list [-a,-n] List nested subcommands
uuid util usage Display one line of help for each command
uuid util filepath Print filepath to JSON file containing user data, egLicense
Released under the MIT License.
