Skip to content

v2.0.0

Compare
Choose a tag to compare
@geommr geommr released this 12 Jan 22:21
· 7 commits to master since this release
  • Add cuidConfig() for more customizability.
  • Example:
Function myCounter(int start) {
    return () => start += 5;
}

final cc = cuidConfig(counter: myCounter(0));
final id = cc.gen();
  • [BREAKING] remove entropyLength param from cuid() and cuidSecure()