uuidx 2.0.0 copy "uuidx: ^2.0.0" to clipboard
uuidx: ^2.0.0 copied to clipboard

UUIDx is a robust UUID generation library for Dart, offering singleton-based management for UUIDv4 and deterministic UUIDv5 generation. It ensures uniqueness tracking, collision prevention, and clean [...]

N|Solid

UUIDX. #

Static Badge Repository Size Last Commit Status

Visit us at www.nasriya.net.

A lightweight package to generate UUIDs on the go.

Made with ❤️ in Palestine 🇵🇸

Important

🌟 Support Our Open-Source Development! 🌟 We need your support to keep our projects going! If you find our work valuable, please consider contributing. Your support helps us continue to develop and maintain these tools.

Click here to support us!

Every contribution, big or small, makes a difference. Thank you for your generosity and support!


Generating UUID is never easier.

Installation #

Add the package using Dart CLI:

dart pub add uuidx

Or manually in pubspec.yaml:

dependencies:
  uuidx: ^latest_version

Importing #

import 'package:uuidx/uuidx.dart'; // imported singleton instance

Usage #

To generate a UUIDs, call the method of the needed version whenever you need it:

// UUID v4 (random)
final idv4 = uuidx.v4.generate();

// UUID v4 (unique within instance)
final uniqueId = uuidx.v4.generateUnique();

// UUID v5 (deterministic)
final idv5 = uuidx.v5('nasriya.net', idv4);

print(idv4);    // ⇨ 'f47ac10b-58cc-4372-a567-0e02b2c3d479'
print(idv5);    // ⇨ deterministic UUID based on input

Thank you!


License #

Please read the license from here.

0
likes
130
points
93
downloads

Documentation

API reference

Publisher

verified publishernasriya.net

Weekly Downloads

UUIDx is a robust UUID generation library for Dart, offering singleton-based management for UUIDv4 and deterministic UUIDv5 generation. It ensures uniqueness tracking, collision prevention, and clean Dart integration.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto

More

Packages that depend on uuidx