Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 473 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 473 Bytes

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
...