Jdenticon

WebJar for Jdenticon

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

org.webjars.bower
Идентификатор

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

github-com-dmester-jdenticon
Последняя версия

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

2.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Jdenticon
WebJar for Jdenticon
Ссылка на сайт

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

https://www.webjars.org
Система контроля версий

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

https://github.com/dmester/jdenticon

Скачать github-com-dmester-jdenticon

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

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-dmester-jdenticon/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-dmester-jdenticon</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-dmester-jdenticon/
implementation 'org.webjars.bower:github-com-dmester-jdenticon:2.2.0'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-dmester-jdenticon/
implementation ("org.webjars.bower:github-com-dmester-jdenticon:2.2.0")
'org.webjars.bower:github-com-dmester-jdenticon:jar:2.2.0'
<dependency org="org.webjars.bower" name="github-com-dmester-jdenticon" rev="2.2.0">
  <artifact name="github-com-dmester-jdenticon" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-dmester-jdenticon', version='2.2.0')
)
libraryDependencies += "org.webjars.bower" % "github-com-dmester-jdenticon" % "2.2.0"
[org.webjars.bower/github-com-dmester-jdenticon "2.2.0"]

Зависимости

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

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

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

Jdenticon

JavaScript library for generating highly recognizable identicons using HTML5 canvas or SVG.

Sample identicons

Tests Downloads jsDelivr npm bundle size License MIT

Live demo

https://jdenticon.com

Getting started

Using Jdenticon is simple. Follow the steps below to integrate Jdenticon into your website.

1. Add identicon placeholders

Jdenticon is able to render both raster and vector identicons. Raster icons are rendered slightly faster than vector icons, but vector icons scale better on high resolution screens. Add a canvas to render a raster icon, or an inline svg element to render a vector icon.

<!-- Vector icon -->
<svg width="80" height="80" data-jdenticon-value="icon value"></svg>

<!-- OR -->

<!-- Raster icon -->
<canvas width="80" height="80" data-jdenticon-value="icon value"></canvas>

2. Add reference to Jdenticon

Include the Jdenticon library somewhere on your page. You can either host it yourself or use it right off jsDelivr.

<!-- Using jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/jdenticon@3.1.0/dist/jdenticon.min.js"
        integrity="sha384-VngWWnG9GS4jDgsGEUNaoRQtfBGiIKZTiXwm9KpgAeaRn6Y/1tAFiyXqSzqC8Ga/"
        crossorigin="anonymous">
</script>

<!-- OR -->

<!-- Hosting it yourself -->
<script src="-path-to-/jdenticon.min.js"></script>

That's it!

Other resources

API documentation

For more usage examples and API documentation, please see:

https://jdenticon.com

Other platforms

There are ports or bindings for Jdenticon available for the following platforms:

Hosted Jdenticon

Same icons but generated server-side. Service provided by Aaroh Mankad.

http://identicon-api.herokuapp.com/

License

Jdenticon is available under the MIT license.

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

Версия
2.2.0