Jdenticon 2.0.0
See the version list below for details.
dotnet add package Jdenticon --version 2.0.0
NuGet\Install-Package Jdenticon -Version 2.0.0
<PackageReference Include="Jdenticon" Version="2.0.0" />
paket add Jdenticon --version 2.0.0
#r "nuget: Jdenticon, 2.0.0"
// 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.
Live demo
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:
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.
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.3.0 | 101 | 5/10/2024 |
3.2.0 | 527 | 8/7/2022 |
3.1.1 | 430 | 8/14/2021 |
3.1.0 | 579 | 12/12/2020 |
3.0.1 | 1,043 | 8/3/2020 |
3.0.0 | 497 | 8/1/2020 |
2.2.0 | 1,061 | 7/13/2019 |
2.1.1 | 739 | 12/22/2018 |
2.1.0 | 1,087 | 4/15/2018 |
2.0.0 | 991 | 3/12/2018 |
1.8.0 | 1,064 | 12/27/2017 |
1.7.2 | 1,029 | 7/16/2017 |
1.7.1 | 965 | 7/16/2017 |
1.7.0 | 941 | 7/15/2017 |
1.6.0 | 945 | 7/8/2017 |
1.5.0 | 966 | 7/5/2017 |
1.4.0 | 1,481 | 12/10/2016 |
1.3.2 | 1,580 | 10/10/2015 |
1.3.0 | 1,072 | 9/4/2015 |
1.2.0 | 1,136 | 7/20/2015 |
1.1.0 | 1,159 | 4/18/2015 |
1.0.1 | 2,317 | 3/29/2015 |
1.0.0 | 1,396 | 2/15/2015 |