/hash-avatar

:rainbow: Hash avatar algorithm

Primary LanguageJavaScriptMIT LicenseMIT

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