Skip to content

Short id generator. Url-friendly. Non-predictable. Cluster-compatible.

Notifications You must be signed in to change notification settings

snimavat/shortid

Repository files navigation

Java port of the short id -- https://github.com/dylang/shortid

See shortid for documentation.

How to use

Gradle

repositories {
    maven {
        url  "http://dl.bintray.com/snimavat/maven" 
    }
}

dependencies {
	compile "me.nimavat:shortid:1.0.1.RC1"
}

    import me.nimavat.shortid.ShortId
    
    System.out.println(Shortid.generate())

Compatibility Java 1.8 +

About

Short id generator. Url-friendly. Non-predictable. Cluster-compatible.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages