snowflaker 1.0.2 copy "snowflaker: ^1.0.2" to clipboard
snowflaker: ^1.0.2 copied to clipboard

Twitter's snowflaker algorithm implementation in Dart. The Snowflake algorithm is a unique ID generator that was originally developed by Twitter. The algorithm generates 64-bit IDs that are composed [...]

Changelog #

All notable changes to this project will be documented in this file.

[1.0.2] - 2023-06-8 #

Changed #

  • Updated bin/snowflaker.dart

[1.0.1] - 2023-06-8 #

Changed #

  • Updated pubspec.yaml to have a more accurate description of the library.
  • Fixed name of the class from Snoflaker to Snowflaker.

Added #

  • Created example

[1.0.0] - 2023-06-08 #

Added #

  • Initial release of the snowflaker ID generator.
  • Thread-safe generation of unique IDs.
  • Each ID contains a timestamp with millisecond precision.
  • Customizable worker and datacenter identifiers.
  • Unit tests for primary functionalities.
2
likes
0
pub points
67%
popularity

Publisher

verified publisherlazebny.io

Twitter's snowflaker algorithm implementation in Dart. The Snowflake algorithm is a unique ID generator that was originally developed by Twitter. The algorithm generates 64-bit IDs that are composed of a timestamp, a worker ID, and a sequence number.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on snowflaker