Skip to content

bukinoshita/hash-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash-avatar Build Status

Hash avatar algorithm

Install

$ npm install --save hash-avatar

Usage

import hashAvatar from 'hash-avatar'

hashAvatar('uid', { size: 100 })
// => It will return a SVG

API

hashAvatar(uid, { size })

uid

Type: string
Required

size

Type: number
Required

Demo

Related

License

MIT © Bu Kinoshita

About

🌈 Hash avatar algorithm

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •