ulid-scala

A Scala port of alizain/ulid

License

License

MIT
Categories

Categories

Scala Languages
GroupId

GroupId

com.github.jkugiya
ArtifactId

ArtifactId

ulid-scala_2.13
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

ulid-scala
A Scala port of alizain/ulid
Project URL

Project URL

https://github.com/jkugiya/ulid-scala
Project Organization

Project Organization

jkugiya
Source Code Management

Source Code Management

https://github.com/jkugiya/ulid-scala

Download ulid-scala_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jkugiya/ulid-scala_2.13/ -->
<dependency>
    <groupId>com.github.jkugiya</groupId>
    <artifactId>ulid-scala_2.13</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.jkugiya/ulid-scala_2.13/
implementation 'com.github.jkugiya:ulid-scala_2.13:1.0.2'
// https://jarcasting.com/artifacts/com.github.jkugiya/ulid-scala_2.13/
implementation ("com.github.jkugiya:ulid-scala_2.13:1.0.2")
'com.github.jkugiya:ulid-scala_2.13:jar:1.0.2'
<dependency org="com.github.jkugiya" name="ulid-scala_2.13" rev="1.0.2">
  <artifact name="ulid-scala_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.jkugiya', module='ulid-scala_2.13', version='1.0.2')
)
libraryDependencies += "com.github.jkugiya" % "ulid-scala_2.13" % "1.0.2"
[com.github.jkugiya/ulid-scala_2.13 "1.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.4

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.0.8

Project Modules

There are no modules declared in this project.

ULID scala

[Build Status Coverage Status

ULID (Universally Unique Lexicographically Sortable Identifier) generator and parser for Scala.

Refer alizain/ulid for a more detailed ULID specification.

Getting Started

libraryDependencies += "com.github.jkugiya" %% "ulid" % "<version>"

Usage

ULID generation examples:

import jkugiya.ulid.ULID

val generator = ULID.getGenerator()

val ulid: ULID = generator.generate()

// or ulid.base32
val base32: String = generator.base32()

// or ulid.uuid
val uuid: UUID = generator.uuid()

// or ulid.binary
val binary: Array[Byte] = generator.binary()

LICENSE

LICENSE

Prior Arts

Versions

Version
1.0.2
1.0.1
1.0.0
0.1.0