identicon_3

identicon

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки CRaSH Универсальные библиотеки Utility
Группа

Группа

io.crashbox
Идентификатор

Идентификатор

identicon_3
Последняя версия

Последняя версия

0.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

identicon_3
identicon
Ссылка на сайт

Ссылка на сайт

https://github.com/jodersky/identicon
Система контроля версий

Система контроля версий

https://github.com/jodersky/identicon

Скачать identicon_3

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.crashbox/identicon_3/ -->
<dependency>
    <groupId>io.crashbox</groupId>
    <artifactId>identicon_3</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.crashbox/identicon_3/
implementation 'io.crashbox:identicon_3:0.4.0'
// https://jarcasting.com/artifacts/io.crashbox/identicon_3/
implementation ("io.crashbox:identicon_3:0.4.0")
'io.crashbox:identicon_3:jar:0.4.0'
<dependency org="io.crashbox" name="identicon_3" rev="0.4.0">
  <artifact name="identicon_3" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.crashbox', module='identicon_3', version='0.4.0')
)
libraryDependencies += "io.crashbox" % "identicon_3" % "0.4.0"
[io.crashbox/identicon_3 "0.4.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Identicons

A tiny implementation of identicons, similar to the ones used by GitHub for new avatars.

If you are interested in the workings of identicons, check out this excellent blog post by Jussi Judin.

Dependencies

This library is totally self-contained, there are no 3rd party dependencies. It is built and published for Scala on JVM, JS and Native.

Download

  • mill:

    ivy"io.crashbox::identicon::0.4.0"
  • sbt:

    "io.crashbox" %%% "identicon" % "0.4.0"

Usage

// generate identicon for user "admin" in SVG form
identicon.svg("admin") // = <svg width="5" height="5"><rect x="0" y="3" ...

// in base64 data url form
identicon.url("admin") // = data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0...

See the online generator for an interactive preview. The generator is simply a static site that uses the ScalaJS version of this library.

Версии библиотеки

Версия
0.4.0