Jdenticon 2.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Jdenticon -Version 2.0.0
dotnet add package Jdenticon --version 2.0.0
<PackageReference Include="Jdenticon" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jdenticon --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Jdenticon, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jdenticon as a Cake Addin
#addin nuget:?package=Jdenticon&version=2.0.0

// Install Jdenticon as a Cake Tool
#tool nuget:?package=Jdenticon&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Jdenticon

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

Sample identicons

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, and an inline svg element to render a vector icon.


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




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

Not sure about data-jdenticon-hash? A hashed username works perfectly fine! Sensitive information is not recommended as input to the hash algorithm for this purpose.

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.


<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jdenticon@2.0.0"></script>




<script type="text/javascript" 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

Jdenticon .NET Edition

Same icons, same configuration options, but ported to .NET and easily integrated into your ASP.NET websites.

https://github.com/dmester/jdenticon-net/

Hosted Jdenticon

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

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

Third-party extensions

If your're into Polymer, Pascal Gula has created a nice Polymer element.

https://github.com/GeoloeG/identicon-element

License

Jdenticon is released under the MIT license.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.1 70 8/14/2021
3.1.0 255 12/12/2020
3.0.1 252 8/3/2020
3.0.0 183 8/1/2020
2.2.0 613 7/13/2019
2.1.1 430 12/22/2018
2.1.0 642 4/15/2018
2.0.0 597 3/12/2018
1.8.0 618 12/27/2017
1.7.2 632 7/16/2017
1.7.1 574 7/16/2017
1.7.0 552 7/15/2017
1.6.0 564 7/8/2017
1.5.0 563 7/5/2017
1.4.0 938 12/10/2016
1.3.2 933 10/10/2015
1.3.0 662 9/4/2015
1.2.0 682 7/20/2015
1.1.0 669 4/18/2015
1.0.1 1,703 3/29/2015
1.0.0 783 2/15/2015