An open API service indexing awesome lists of open source software.

https://github.com/ssnickolay/scala-nanoid

Scala port of NanoID, a secure and URL-friendly unique ID generator.
https://github.com/ssnickolay/scala-nanoid

scala scalajs

Last synced: 21 days ago
JSON representation

Scala port of NanoID, a secure and URL-friendly unique ID generator.

Awesome Lists containing this project

README

        

# Nanoid port for Scala

[![CircleCI](https://circleci.com/gh/ssnickolay/scala-nanoid.svg?style=svg)](https://circleci.com/gh/ssnickolay/scala-nanoid)
[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-0.6.17.svg)](https://www.scala-js.org)

Scala port of NanoID ([https://github.com/ai/nanoid](https://github.com/ai/nanoid)), a tiny, secure URL-friendly unique string ID generator.

**Safe.** It uses cryptographically strong random APIs and guarantees a proper distribution of symbols.

**Compact.** It uses a larger alphabet than UUID (A-Za-z0-9_~) and has a similar number of unique IDs in just 21 symbols instead of 36.

# Publish to sonatype

```sh
$ sbt +publish
```