A lightweight utility for generating and formatting random UUIDs without dashes, providing a simple and clean unique identifier.
npm install uuid-liteA lightweight utility for generating and formatting random Version 4 UUIDs without dashes, providing a simple and clean unique identifier.
generateId()- Generates Version 4 UUIDs.
- Removes dashes for a more compact ID format.
- Lightweight and easy to integrate.
Install the package via npm:
``bash`
npm install uuid-lite
`bash
const { generateId } = require('uuid-lite');
// Generate a standard UUID
const uuid = generateId();
console.log(uuid); // Example output: '550e8400e29b41d4a716446655440000'
``