
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
JavaScript library generating identicons using SVG graphics or HTML5 canvas. If you intend to generate icons server-side, consider using any of the .NET packages instead: * Jdenticon-net * Jdenticon.AspNetCore * Jdenticon.AspNet.Mvc * Jdenticon.AspNet.WebApi * Jdenticon.AspNet.WebForms
JavaScript library for generating highly recognizable identicons using HTML5 canvas or SVG.
Using Jdenticon is simple. Follow the steps below to integrate Jdenticon into your website.
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>
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.3.0/dist/jdenticon.min.js"
integrity="sha384-LfouGM03m83ArVtne1JPk926e3SGD0Tz8XHtW2OKGsgeBU/UfR0Fa8eX+UlwSSAZ"
crossorigin="anonymous">
</script>
<!-- OR -->
<!-- Hosting it yourself -->
<script src="-path-to-/jdenticon.min.js"></script>
That's it!
For more usage examples and API documentation, please see:
There are ports or bindings for Jdenticon available for the following platforms:
Jdenticon is available under the MIT license.
FAQs
JavaScript library generating identicons using SVG graphics or HTML5 canvas. If you intend to generate icons server-side, consider using any of the .NET packages instead: * Jdenticon-net * Jdenticon.AspNetCore * Jdenticon.AspNet.Mvc * Jdenticon.AspNet.WebApi * Jdenticon.AspNet.WebForms
We found that jdenticon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.