https://github.com/nextorders/avatar
Generate cool personalized SVG avatars in seconds. With no dependencies 💪
https://github.com/nextorders/avatar
avatar avatar-generator avatar-service cloud library npm npm-package self-hosted svg typescript
Last synced: 3 months ago
JSON representation
Generate cool personalized SVG avatars in seconds. With no dependencies 💪
- Host: GitHub
- URL: https://github.com/nextorders/avatar
- Owner: nextorders
- License: mit
- Created: 2025-09-23T19:19:07.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-02-17T19:57:54.000Z (4 months ago)
- Last Synced: 2026-02-18T00:58:09.811Z (4 months ago)
- Topics: avatar, avatar-generator, avatar-service, cloud, library, npm, npm-package, self-hosted, svg, typescript
- Language: TypeScript
- Homepage: https://nextorders.ru/avatar
- Size: 447 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Avatar 👩🎨
[](https://www.npmjs.com/package/@nextorders/avatar)
The `@nextorders/avatar` package allows you to easily generate SVG avatars.
Based on the [Open Peeps](https://www.openpeeps.com/) set by Pablo Stanley, which is licensed under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).

## Installation
You can install the library via npm:
```bash
npm install @nextorders/avatar
```
## Usage
To generate an avatar, call the `createAvatar()` function and pass the options:
```typescript
type AvatarOptions = {
seed: string
gender?: Gender
clothing?: 'amber' | 'green' | 'blue' | 'teal' | 'pink' | 'violet'
emotion?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
}
```
## License
This project is licensed under the MIT License.