Skip to content

EezyQuote/gradient-avatar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradient Avatar

🌈 Beautiful default avatars.

Build Status

About

Generate beautiful and unique avatars for your users. gradient-avatar was inspired by Vercel.

Install

$ npm install gradient-avatar

Usage

const avatar = require('gradient-avatar')

avatar('uid')
// => the avatar svg

API

avatar(seed[, size])

seed

Type: string

The seed for the generated avatar.

size

Type: number | string

The generated svg's size. Number default to px string required a measurement unit.

Returns

Type: string

The generated avatar svg.

License

MIT © EezyQuote

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 61.5%
  • JavaScript 38.5%