
Options can be passed when instantiating uid: const options = const uid = new ShortUniqueId (options) įor more information take a look at the ShortUniqueIdOptions type definition. write ( uid ()) // Sequential UUID document. seq ()) Use in browser // Instantiate var uid = new ShortUniqueId () // Random UUID document. Then H is defined as n to the power of l: This function returns H. n is the number of unique characters in the dictionary. UUIDs (Universal Unique Identifier) for network interface card can be generated using the following command : Command. Given that: H is the total number of possible UUIDs. log ( uid ()) // Sequential UUID console. Calculates total number of possible UUIDs. For proper use there are 3 options first require luasocket, then call ed(), and request a uuid using no parameter, eg. The module table itself is a shortcut to this function, so myuuid uuid.new() equals myuuid uuid(). Use as module // Deno (web module) Import import ShortUniqueId from // ES6 / TypeScript Import import ShortUniqueId from 'short-unique-id' //or Node.js require const ShortUniqueId = require ( 'short-unique-id' ) //Instantiate const uid = new ShortUniqueId () // Random UUID console. Either provide a unique hex string, or make sure the random seed is properly set. The correct command to generate a UUID should be on the list. Use the \df command to display all of the functions availalble.

Generate a UUID with the extension uuid-ossp. Generate random or sequential UUID of any length. Note that the extension uuid-ossp version 1.1 is listed last, so it was indeed installed on the server successfully.
