Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
svelte-boring-avatars
Advanced tools
![Screenshot 2021-09-01 100049](https://user-images.githubusercontent.com/61054234/131599513-98c3c763-9839-4539-8c83-0a3be137f59a.png)
A Svelte port of Boring Avatars.
npm install svelte-boring-avatars
# or
yarn add svelte-boring-avatars
<script lang="ts">
import Avatar from 'svelte-boring-avatars';
</script>
<Avatar
size={40}
name="Maria Mitchell"
variant="marble"
colors={['#92A1C6', '#146A7C', '#F0AB3D', '#C271B4', '#C20D90']}
/>
Prop | Type | Default |
---|---|---|
size | number | 40 |
square | boolean | false |
variant | "bauhaus", "beam", "marble", "pixel", "ring", "sunset" | "marble" |
colors | string[] | ["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"] |
This library is small as it is, but if you want to shave off some more load you can import a specific variant.
All the props stay the same except for the exclusion of variant
.
<script>
import { AvatarBeam } from 'svelte-boring-avatars';
</script>
<AvatarBeam
size={40}
name="Maria Mitchell"
colors={['#92A1C6', '#146A7C', '#F0AB3D', '#C271B4', '#C20D90']}
/>
FAQs
![Screenshot 2021-09-01 100049](https://user-images.githubusercontent.com/61054234/131599513-98c3c763-9839-4539-8c83-0a3be137f59a.png)
The npm package svelte-boring-avatars receives a total of 327 weekly downloads. As such, svelte-boring-avatars popularity was classified as not popular.
We found that svelte-boring-avatars demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.