🏷️
cuid

Koltin implementation of CUID

  • 🌐
    Multiplatform (soon)



Installation

Gradle

Groovy

repositories {
    maven { url = 'https://dimensional.jfrog.io/artifactory/maven' }
}

dependencies {
    implementation 'fun.dimensional:cuid:VERSION'
}

Kotlin

repositories {
    maven("https://dimensional.jfrog.io/artifactory/maven")
}

dependencies {
    implementation("fun.dimensional:cuid:VERSION")
}


🚀
Usage

import dimensional.cuid.CUID

fun main() {
    // generate a random cuid
    val myCUID = CUID.generate()
    println(myCUID)
}

Dimensional Fun 2021

GitHub

https://github.com/dimensional/fun-cuid