Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 447 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 447 Bytes

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 +