【文件属性】:
文件名称:hash-avatar:哈希化身算法
文件大小:35KB
文件格式:ZIP
更新时间:2021-05-22 21:32:46
nodejs javascript svg avatar hash
哈希化身
哈希化身算法
安装
$ npm install --save hash-avatar
用法
import hashAvatar from 'hash-avatar'
hashAvatar ( 'uid' , { size : 100 } )
// => It will return a SVG
原料药
hashAvatar(uid,{size})
uid
类型: string 必需的
尺寸
类型: number 必需的
演示版
有关的
— React哈希头像算法
执照
麻省理工学院:copyright:
【文件预览】:
hash-avatar-master
----.gitignore(884B)
----README.md(713B)
----LICENSE(1KB)
----package.json(903B)
----renovate.json(41B)
----index.js(894B)
----.travis.yml(53B)
----yarn.lock(116KB)