uuid-lite
v0.0.22
Published
A lightweight utility for generating and formatting random UUIDs without dashes, providing a simple and clean unique identifier.
Downloads
87
Maintainers
Readme
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.