Jdenticon 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Jdenticon --version 2.0.0
NuGet\Install-Package Jdenticon -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: Jdenticon, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.2.0 487 8/7/2022
3.1.1 413 8/14/2021
3.1.0 550 12/12/2020
3.0.1 985 8/3/2020
3.0.0 468 8/1/2020
2.2.0 1,035 7/13/2019
2.1.1 710 12/22/2018
2.1.0 1,058 4/15/2018
2.0.0 963 3/12/2018
1.8.0 1,026 12/27/2017
1.7.2 1,002 7/16/2017
1.7.1 940 7/16/2017
1.7.0 913 7/15/2017
1.6.0 919 7/8/2017
1.5.0 941 7/5/2017
1.4.0 1,442 12/10/2016
1.3.2 1,550 10/10/2015
1.3.0 1,043 9/4/2015
1.2.0 1,106 7/20/2015
1.1.0 1,128 4/18/2015
1.0.1 2,186 3/29/2015
1.0.0 1,361 2/15/2015