Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@svelte-put/avatar
Advanced tools
@svelte-put/avatar
Svelte Avatar
component and utilities for building avatars with builtin supports for Gravatar and UI Avatar.
svelte-put
This package is part of the @svelte-put family. For contributing guideline and more, refer to its readme.
See the dedicated documentation page here.
<script>
import Avatar from '@svelte-put/avatar/Avatar.svelte';
let { id, email, firstName, lastName } = $props();
</script>
<Avatar
src="https://your.api/avatar/{id}"
gravatar="{email}"
uiAvatar="{firstName}+{lastName}"
fallback="https://your.api/avatar/default"
/>
FAQs
Component and utils for handling avatar
The npm package @svelte-put/avatar receives a total of 68 weekly downloads. As such, @svelte-put/avatar popularity was classified as not popular.
We found that @svelte-put/avatar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.