tsid_dart 0.1.0
tsid_dart: ^0.1.0 copied to clipboard
A TSID Port for Dart libraries or applications. it probably possible to run on any platform, however it was tested on macos and web only.
TSID-Dart #
A Dart library for generating Time-Sorted Unique Identifiers (TSID).
This library is a Dart implementation of tsid-creator
Create a TSID:
var tsid = Tsid.getTsid();
Create a TSID as long:
var number = Tsid.getTsid().toLong();
create a TSID as string:
var string = Tsid.getTsid().toString();
Dependency #
# pubspec.yaml
...
dependencies:
tsid_dart: ^0.0.2
...