uuid-lite
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

UUID Lite

A lightweight utility for generating and formatting random Version 4 UUIDs without dashes, providing a simple and clean unique identifier.

Table of Contents

Features

  • Generates Version 4 UUIDs.
  • Removes dashes for a more compact ID format.
  • Lightweight and easy to integrate.

Installation

Install the package via npm:

npm install uuid-lite

Usage

Basic Usage

To generate a UUID, import the package and call the generateId() function:

const { generateId } = require('uuid-lite');

// Generate a standard UUID
const uuid = generateId();
console.log(uuid);  // Example output: '550e8400e29b41d4a716446655440000'

License

This project is licensed under the MIT License.

Authors

Package Sidebar

Install

npm i uuid-lite

Weekly Downloads

4

Version

0.0.22

License

MIT

Unpacked Size

3.9 kB

Total Files

7

Last publish

Collaborators

  • karansacher