Uniq

Master Hex.pm Version

Uniq provides generation, formatting, parsing, and analysis of UUIDs described by RFC 9562. It is available on Hex as :uniq.

Features

Installation

def deps do
  [
    {:uniq, "~> 0.7"}
  ]
end

Usage

The primary API is provided by the Uniq.UUID module.

To generate UUIDs, pick the version you want, and call the appropriate generator. For example:

See the docs for the full set of functions available.

You can also convert UUID strings to/from the human-readable and binary formats; parse UUID strings/binaries; and determine their validity.