
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Generate avatar images based on user initials.
After installing, simply import it in your file.
const uiavatars = require("ui-avatars");
Consume the generateAvatar()
API to get an avatar URL that you can use directly as an image. Supply the settings object to this method to generate the avatar image URL accordingly. You can either supply one or all settings, based on your requirement. All settings are pretty self-explanatory.
var avatarURL = uiavatars.generateAvatar({
uppercase: true,
name: "Tony Stark",
background: "990000",
color: "000000",
fontsize: 0.5,
bold: true,
length: 2,
rounded: true,
size: 250
});
Clicking on the images below opens the image in a browser window.
Release notes can be found here.
This npm package is licensed under MIT. UI Avatars may be licensed separately.
UI Avatars developed by Lasse Rafn / GitHub.
This npm package is developed by Clyde D'Souza.
FAQs
Generate avatar images based on user initials
The npm package ui-avatars receives a total of 138 weekly downloads. As such, ui-avatars popularity was classified as not popular.
We found that ui-avatars 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.