bukinoshita / hash-avatar

:rainbow: Hash avatar algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

:rainbow: Hash avatar algorithm

License:MIT License


Languages

Language:JavaScript 100.0%