Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@dicebear/avatars-jdenticon-sprites
Advanced tools
Jdenticon wrapper for DiceBear Avatars.
Our free HTTP-API is the easiest way to use this sprite collection. Just use the following URL as image source.
https://avatars.dicebear.com/v2/jdenticon/:seed.svg
The value of :seed
can be anything you like - but don't use any sensitive or personal data here! The GET parameter
option
can be used to pass options.
preview | url |
---|---|
https://avatars.dicebear.com/v2/jdenticon/example.svg | |
https://avatars.dicebear.com/v2/jdenticon/example.svg?options[padding]=0.05&options[background]=%23f0f0f0 |
Install the Avatars and this sprite collection with the following command.
npm install --save @dicebear/avatars @dicebear/avatars-jdenticon-sprites jdenticon
Now you are ready to create your first Avatar.
import Avatars from '@dicebear/avatars';
import sprites from '@dicebear/avatars-jdenticon-sprites';
let options = {};
let avatars = new Avatars(sprites(options));
let svg = avatars.create('custom-seed');
name | type | default | description |
---|---|---|---|
hues | array of numbers | null | Icon hue |
padding | number | 0 | Distance to the edge of the image |
colorLightness | array of two numbers | null | Colored shapes - Lightness |
grayscaleLightness | array of two numbers | null | Grayscale shapes - Lightness |
colorSaturation | number | null | Colored shapes - Saturation |
grayscaleSaturation | number | null | Grayscale shapes - Saturation |
background | string | null | Any valid color identifier |
You can find the DiceBear Avatars documentation at avatars.dicebear.com
FAQs
Jdenticon avatar style for DiceBear Avatars
The npm package @dicebear/avatars-jdenticon-sprites receives a total of 2,505 weekly downloads. As such, @dicebear/avatars-jdenticon-sprites popularity was classified as popular.
We found that @dicebear/avatars-jdenticon-sprites 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.