test-avatar-js
v1.0.0
Published
Create your own avatar image with an original and cool design
Downloads
1
Readme
About package
Create your own avatar image with an original and cool design
Installation
npm i avatar-js
How it work ?
import { colorPicker } from 'avatar-js'
const generatedColor = color('AA', colorsArray)
Options
js-avatar supports 1 option. this option is required
- shadow_type - Array (Defaults to null)
Helper functions
import { getInitial } from 'avatar-js'
const initials = getInitial('Some BIG name)