Skip to content

UUID - unique identifier

Introduction

This module provides two ways to generate a Unique Identifier (UUID):

  • buildShortID: Generate a shorter unique identifier.
  • buildID: A unique identifier in the form of a standard UUID v4 format.

Example

javascript
import { uuid } from "cat-tool";

uuid.buildID();
uuid.buildShortID();

Online experience

buildShortIDbuildID

Released under the MIT License