scru128 1.1.0 copy "scru128: ^1.1.0" to clipboard
scru128: ^1.1.0 copied to clipboard

SCRU128 ID is yet another attempt to supersede UUID for the users who need decentralized, globally unique time-ordered identifiers.

SCRU128 ID is yet another attempt to supersede UUID for the users who need decentralized, globally unique time-ordered identifiers.

See the spec for details.

Features #

  • Generate SCRU128 ID.

Getting started #

$ dart pub add scru128

Then import it.

import 'package:scru128/scru128.dart';

Usage #

To generate single ID.

final scru128id = Scru128Id();
print(scru128id);

You can iterate id for generating many ids.

final scru128gen = Scru128Generator();
for (final id in scr128gen) {
  print(id);
}

Additional information #

See also

License #

Licensed under the Apache License, Version 2.0.

0
likes
140
pub points
0%
popularity

Publisher

verified publisherkkazuo.com

SCRU128 ID is yet another attempt to supersede UUID for the users who need decentralized, globally unique time-ordered identifiers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

More

Packages that depend on scru128