
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ducdev2k1/avatar-initials
Advanced tools
This is a Vue 3 component that generates an avatar with initials based on a full name. The avatar has a circular shape and automatically assigns a background color based on the name.
npm install @ducdev2k1/avatar-initials
<script setup>
import AvatarInitials from "@ducdev2k1/avatar-initials";
</script>
<template>
<AvatarInitials fullName="John Doe" size="50" />
</template>
| Prop | Type | Default | Description |
|---|---|---|---|
fullName | string | "" | The full name to generate initials. |
size | number | string | 44 | The size of the avatar. |
onlyColor | boolean | false | If true, the avatar will use a default color instead of a name-based color. |
defaultColor | string | #0A6CCB | The default background color of the avatar. |
Giấy phép MIT © 2025 ducdev2k1
Đây là một component Vue 3 giúp tạo avatar hình tròn với chữ viết tắt từ tên đầy đủ. Avatar sẽ tự động đặt màu nền dựa trên tên.
npm install @ducdev2k1/avatar-initials
<script setup>
import AvatarInitials from "@ducdev2k1/avatar-initials";
</script>
<template>
<AvatarInitials fullName="Nguyễn Văn A" size="50" />
</template>
| Prop | Loại | Mặc định | Mô tả |
|---|---|---|---|
fullName | string | "" | Tên đầy đủ để tạo chữ viết tắt. |
size | number | string | 44 | Kích thước của avatar. |
onlyColor | boolean | false | Nếu true, avatar sẽ sử dụng màu cố định thay vì màu dựa trên tên. |
defaultColor | string | #0A6CCB | Màu nền mạc định của avatar. |
Giấy phép MIT © 2025 ducdev2k1
FAQs
A Vue 3 component for generating initials-based avatars
We found that @ducdev2k1/avatar-initials 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.